Internal
Create a new instance of the service.
Adds issue types to an issue type scheme.
The added issue types are appended to the issue types list.
If any of the issue types exist in the issue type scheme, the operation fails and no issue types are added.
Permissions required: Administer Jira global permission.
The ID of the issue type scheme.
Returned if the request is successful.
Assigns an issue type scheme to a project.
If any issues in the project are assigned issue types not present in the new scheme, the operation will fail. To complete the assignment those issues must be updated to use issue types in the new scheme.
Issue type schemes can only be assigned to classic projects.
Permissions required: Administer Jira global permission.
Returned if the request is successful.
Creates an issue type scheme.
Permissions required: Administer Jira global permission.
Returned if the request is successful.
example:
{
"issueTypeSchemeId": "10010"
}
Deletes an issue type scheme.
Only issue type schemes used in classic projects can be deleted.
Any projects assigned to the scheme are reassigned to the default issue type scheme.
Permissions required: Administer Jira global permission.
The ID of the issue type scheme.
Returned if the issue type scheme is deleted.
Returns a paginated list of issue type schemes.
Only issue type schemes used in classic projects are returned.
Permissions required: Administer Jira global permission.
Optional
expand?: stringUse expand to include additional information in the response. This parameter accepts a comma-separated list. Expand options include:
projects
For each issue type schemes, returns information about the
projects the issue type scheme is assigned to.issueTypes
For each issue type schemes, returns information about the
issueTypes the issue type scheme have.Optional
id?: number[]The list of issue type schemes IDs. To include multiple IDs, provide an
ampersand-separated list. For example, id=10000&id=10001
.
Optional
maxThe maximum number of items to return per page.
Optional
orderOrder the results by a field:
name
Sorts by issue type scheme name.id
Sorts by issue type scheme ID.Optional
queryString used to perform a case-insensitive partial match with issue type scheme name.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"isLast": true,
"maxResults": 100,
"startAt": 0,
"total": 3,
"values": [
{
"id": "10000",
"name": "Default Issue Type Scheme",
"description": "Default issue type scheme is the list of global issue types. All newly created issue types will automatically be added to this scheme.",
"defaultIssueTypeId": "10003",
"isDefault": true
},
{
"id": "10001",
"name": "SUP: Kanban Issue Type Scheme",
"description": "A collection of issue types suited to use in a kanban style project.",
"projects": {
"isLast": true,
"maxResults": 100,
"startAt": 0,
"total": 1,
"values": [
{
"avatarUrls": {
"16x16": "secure/projectavatar?size=xsmall&pid=10000",
"24x24": "secure/projectavatar?size=small&pid=10000",
"32x32": "secure/projectavatar?size=medium&pid=10000",
"48x48": "secure/projectavatar?size=large&pid=10000"
},
"id": "10000",
"key": "EX",
"name": "Example",
"projectCategory": {
"description": "Project category description",
"id": "10000",
"name": "A project category"
},
"projectTypeKey": "ProjectTypeKey{key='software'}",
"self": "project/EX",
"simplified": false
}
]
}
},
{
"id": "10002",
"name": "HR: Scrum issue type scheme",
"description": "",
"defaultIssueTypeId": "10004",
"issueTypes": {
"isLast": true,
"maxResults": 100,
"startAt": 0,
"total": 1,
"values": [
{
"description": "Improvement Issue Type",
"hierarchyLevel": -1,
"iconUrl": "www.example.com",
"id": "1000L",
"name": "Improvements",
"subtask": true
}
]
}
}
]
}
Returns a paginated list of issue type schemes and, for each issue type scheme, a list of the projects that use it.
Only issue type schemes used in classic projects are returned.
Permissions required: Administer Jira global permission.
Optional
maxThe maximum number of items to return per page.
The list of project IDs. To include multiple project IDs, provide an
ampersand-separated list. For example, projectId=10000&projectId=10001
.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"isLast": true,
"maxResults": 100,
"startAt": 0,
"total": 3,
"values": [
{
"issueTypeScheme": {
"id": "10000",
"name": "Default Issue Type Scheme",
"description": "Default issue type scheme is the list of global issue types. All newly created issue types will automatically be added to this scheme.",
"defaultIssueTypeId": "10003",
"isDefault": true
},
"projectIds": [
"10000",
"10001"
]
},
{
"issueTypeScheme": {
"id": "10001",
"name": "SUP: Kanban Issue Type Scheme",
"description": "A collection of issue types suited to use in a kanban style project."
},
"projectIds": [
"10002"
]
},
{
"issueTypeScheme": {
"id": "10002",
"name": "HR: Scrum issue type scheme",
"description": "",
"defaultIssueTypeId": "10004",
"issueTypes": {
"isLast": true,
"maxResults": 100,
"startAt": 0,
"total": 1,
"values": [
{
"description": "Improvement Issue Type",
"hierarchyLevel": -1,
"iconUrl": "www.example.com",
"id": "1000L",
"name": "Improvements",
"subtask": true
}
]
}
},
"projectIds": [
"10003",
"10004",
"10005"
]
}
]
}
Returns a paginated list of issue type scheme items.
Only issue type scheme items used in classic projects are returned.
Permissions required: Administer Jira global permission.
Optional
issueThe list of issue type scheme IDs. To include multiple IDs, provide an
ampersand-separated list. For example,
issueTypeSchemeId=10000&issueTypeSchemeId=10001
.
Optional
maxThe maximum number of items to return per page.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"isLast": true,
"maxResults": 100,
"startAt": 0,
"total": 4,
"values": [
{
"issueTypeSchemeId": "10000",
"issueTypeId": "10000"
},
{
"issueTypeSchemeId": "10000",
"issueTypeId": "10001"
},
{
"issueTypeSchemeId": "10000",
"issueTypeId": "10002"
},
{
"issueTypeSchemeId": "10001",
"issueTypeId": "10000"
}
]
}
Removes an issue type from an issue type scheme.
This operation cannot remove:
Permissions required: Administer Jira global permission.
The ID of the issue type.
The ID of the issue type scheme.
Returned if the request is successful.
Changes the order of issue types in an issue type scheme.
The request body parameters must meet the following requirements:
after
or position
must be provided.after
must not be in the issue type list.Permissions required: Administer Jira global permission.
The ID of the issue type scheme.
Returned if the request is successful.
Updates an issue type scheme.
Permissions required: Administer Jira global permission.
The ID of the issue type scheme.
Returned if the request is successful.
Protected
Static
initialize
This resource represents issue type schemes in classic projects. Use it to:
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-schemes