Returns a list of all issue type schemes visible to the user. All issue types associated with the scheme will only be returned if an additional query parameter is provided: expand=schemes.issueTypes. Similarly, the default issue type associated with the scheme (if one exists) will only be returned if an additional query parameter is provided: expand=schemes.defaultIssueType. Note that both query parameters can be used together: expand=schemes.issueTypes,schemes.defaultIssueType.
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns a list of issue type schemes.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuetypescheme' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Creates an issue type scheme from a JSON representation
Forge and OAuth2 apps cannot access this REST resource.
Issue type scheme creation details.
string
string
array<string>
array<string>
string
Returns a JSON representation of the newly created IssueTypeScheme if successful.
1
2
3
4
5
curl --request POST \
--url 'http://{baseurl}/rest/api/2/issuetypescheme' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Returns a full representation of the issue type scheme that has the given id
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturns a full representation of the issue type scheme with the given id.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuetypescheme/{schemeId}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Updates the specified issue type scheme from a JSON representation
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredSpecifies the new set of attributes that the issue type scheme will take on.
string
string
array<string>
array<string>
string
Returns a JSON representation of the updated issue type scheme.
1
2
3
4
5
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/issuetypescheme/{schemeId}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Deletes the specified issue type scheme. Any projects associated with this IssueTypeScheme will be automatically associated with the global default IssueTypeScheme.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredConfirmation that the delete was successful.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/issuetypescheme/{schemeId}' \
--user 'email@example.com:<api_token>'
For the specified issue type scheme, returns all of the associated projects
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
The collection of projects associated with this issue type scheme.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuetypescheme/{schemeId}/associations' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Associates the given projects with the specified issue type scheme
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredCollection of projects, specified by id or key, to associate with this issue type scheme
array<string>
Confirmation that the association was successful.
1
2
3
4
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/issuetypescheme/{schemeId}/associations' \
--user 'email@example.com:<api_token>' \
--header 'Content-Type: application/json'
Adds additional projects to those already associated with the specified issue type scheme
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredCollection of projects, specified by id or key, to associate with this issue type scheme
array<string>
Confirmation that the association was successful.
1
2
3
4
curl --request POST \
--url 'http://{baseurl}/rest/api/2/issuetypescheme/{schemeId}/associations' \
--user 'email@example.com:<api_token>' \
--header 'Content-Type: application/json'
Removes all project associations for the specified issue type scheme
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredConfirmation that the associations were removed.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/issuetypescheme/{schemeId}/associations' \
--user 'email@example.com:<api_token>'
For the specified issue type scheme, removes the given project association
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredConfirmation that the association was removed.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/issuetypescheme/{schemeId}/associations/{projIdOrKey}' \
--user 'email@example.com:<api_token>'
Rate this page: