{ "opencollection": "1.0.0", "info": { "name": "Atlassian Admin Account Issue Types API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Issue Types", "type": "folder" }, "items": [ { "info": { "name": "Atlassian Get Issue Types For Project", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/rest/api/3/issuetype/project", "params": [ { "name": "projectId", "value": "", "type": "query", "description": "The ID of the project." }, { "name": "level", "value": "", "type": "query", "description": "The level of the issue type to filter by. Use:\n\n * `-1` for Subtask.\n * `0` for Base.\n * `1` for Epic." } ] }, "docs": "Returns issue types for a project.

This operation can be accessed anonymously.

**[Permissions](#permissions) required:** *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) in the relevant project or *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)." }, { "info": { "name": "Atlassian Get Issue Type", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/rest/api/3/issuetype/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the issue type." } ] }, "docs": "Returns an issue type.

This operation can be accessed anonymously.

**[Permissions](#permissions) required:** *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) in a project the issue type is associated with or *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)." }, { "info": { "name": "Atlassian Update Issue Type", "type": "http" }, "http": { "method": "PUT", "url": "https://api.atlassian.com/rest/api/3/issuetype/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the issue type." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the issue type.

**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)." }, { "info": { "name": "Atlassian Delete Issue Type", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.atlassian.com/rest/api/3/issuetype/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the issue type." }, { "name": "alternativeIssueTypeId", "value": "", "type": "query", "description": "The ID of the replacement issue type." } ] }, "docs": "Deletes the issue type. If the issue type is in use, all uses are updated with the alternative issue type (`alternativeIssueTypeId`). A list of alternative issue types are obtained from the [Get alternative issue types](#api-rest-api-3-issuetype-id-alternatives-get) resource.

**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)." }, { "info": { "name": "Atlassian Get Alternative Issue Types", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/rest/api/3/issuetype/:id/alternatives", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the issue type." } ] }, "docs": "Returns a list of issue types that can be used to replace the issue type. The alternative issue types are those assigned to the same workflow scheme, field configuration scheme, and screen scheme.

This operation can be accessed anonymously.

**[Permissions](#permissions) required:** None." }, { "info": { "name": "Atlassian Load Issue Type Avatar", "type": "http" }, "http": { "method": "POST", "url": "https://api.atlassian.com/rest/api/3/issuetype/:id/avatar2", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the issue type." }, { "name": "x", "value": "", "type": "query", "description": "The X coordinate of the top-left corner of the crop region." }, { "name": "y", "value": "", "type": "query", "description": "The Y coordinate of the top-left corner of the crop region." }, { "name": "size", "value": "", "type": "query", "description": "The length of each side of the crop region." } ] }, "docs": "Loads an avatar for the issue type.

Specify the avatar's local file location in the body of the request. Also, include the following headers:

* `X-Atlassian-Token: no-check` To prevent XSRF protection blocking the request, for more information see [Special Headers](#special-request-headers).
* `Content-Type: image/image type` Valid image types are JPEG, GIF, or PNG.

For example:
`curl --request POST \\ --user email@example.com: \\ --header 'X-Atlassian-Token: no-ch" }, { "info": { "name": "Atlassian Get All Issue Types For User", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/rest/api/3/issuetype" }, "docs": "Returns all issue types.

This operation can be accessed anonymously.

**[Permissions](#permissions) required:** Issue types are only returned as follows:

* if the user has the *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg), all issue types are returned.
* if the user has the *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for one or more projects, the issue types associated with the projects the user h" }, { "info": { "name": "Atlassian Create Issue Type", "type": "http" }, "http": { "method": "POST", "url": "https://api.atlassian.com/rest/api/3/issuetype", "body": { "type": "json", "data": "{}" } }, "docs": "Creates an issue type and adds it to the default issue type scheme.

**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)." } ] } ], "bundled": true }