Returns a list of all issue types visible to the user
This request has no parameters.
Returns a list of issue types.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuetype' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Creates an issue type from a JSON representation and adds the issue newly created issue type to the default issue type scheme.
All information about the issue type.
string
string
string
The new issue type has been created.
1
2
3
4
curl --request POST \
--url 'http://{baseurl}/rest/api/2/issuetype' \
--user 'email@example.com:<api_token>' \
--header 'Content-Type: application/json'
Returns paginated list of filtered issue types
integer
string
array<integer>
integer
string
Returns paginated list of issue types.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuetype/page' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Returns a full representation of the issue type that has the given id.
string
RequiredReturns the issue type with the given id.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuetype/{id}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Updates the specified issue type from a JSON representation.
string
RequiredAll information about the issue type.
integer
string
string
Returned if the issue type was updated successfully.
1
2
3
4
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/issuetype/{id}' \
--user 'email@example.com:<api_token>' \
--header 'Content-Type: application/json'
Deletes the specified issue type. If the issue type has any associated issues, these issues will be migrated to the alternative issue type specified in the parameter.
string
Requiredstring
RequiredReturns NO_CONTENT if successful.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/issuetype/{id}' \
--user 'email@example.com:<api_token>'
Returns a list of all alternative issue types for the given issue type id.
string
RequiredReturns a list of issue types.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuetype/{id}/alternatives' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Converts temporary avatar into a real avatar
string
RequiredCropping instructions.
integer
integer
integer
boolean
string
Returns created avatar.
1
2
3
4
5
curl --request POST \
--url 'http://{baseurl}/rest/api/2/issuetype/{id}/avatar' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Creates temporary avatar using multipart. The response is sent back as JSON stored in a textarea. This is because
the client uses remote iframing to submit avatars using multipart. So we must send them a valid HTML page back from
which the client parses the JSON from.
Creating a temporary avatar is part of a 3-step process in uploading a new
avatar for an issue type: upload, crop, confirm. This endpoint allows you to use a multipart upload
instead of sending the image directly as the request body.
You must use "avatar" as the name of the upload parameter:
curl -c cookiejar.txt -X POST -u admin:admin -H "X-Atlassian-Token: no-check"
-F "avatar=@mynewavatar.png;type=image/png"
'http://localhost:8090/jira/rest/api/2/issuetype/1/avatar/temporary'
string
Requiredstring
boolean
object
string
integer
string
Temporary avatar cropping instructions embeded in HTML page. Error messages will also be embeded in the page.
1
2
3
4
curl --request POST \
--url 'http://{baseurl}/rest/api/2/issuetype/{id}/avatar/temporary' \
--user 'email@example.com:<api_token>' \
--header 'Accept: text/html'
Returns the keys of all properties for the issue type identified by the id
string
RequiredReturns keys of all properties for the issue type.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuetype/{issueTypeId}/properties' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Returns the value of the property with a given key from the issue type identified by the id
string
Requiredstring
RequiredReturns the value of the property with a given key from the issue type.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuetype/{issueTypeId}/properties/{propertyKey}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Sets the value of the specified issue type's property
string
Requiredstring
RequiredThe value of the issue type's property. The value has to be a valid, non-empty JSON conforming to http://tools.ietf.org/html/rfc4627. The maximum length of the property value is 32768 bytes.
string
string
string
Returned if the issue type property is successfully updated.
1
2
3
4
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/issuetype/{issueTypeId}/properties/{propertyKey}' \
--user 'email@example.com:<api_token>' \
--header 'Content-Type: application/json'
Removes the property from the issue type identified by the id
string
Requiredstring
RequiredRemoves the property from the issue type.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/issuetype/{issueTypeId}/properties/{propertyKey}' \
--user 'email@example.com:<api_token>'
Rate this page: