Internal
Create a new instance of the service.
Creates statuses for a global or project scope.
Permissions required:
Details of the statuses being created and their scope.
Returned if the request is successful.
example:
[
{
"description": "The issue is resolved",
"id": "1000",
"name": "Finished",
"scope": {
"project": {
"id": "1"
},
"type": "PROJECT"
},
"statusCategory": "DONE",
"usages": [],
"workflowUsages": []
}
]
Deletes statuses by ID.
Permissions required:
The list of status IDs. To include multiple IDs, provide an ampersand-separated list. For example, id=10000&id=10001.
Min items 1
, Max items 50
Returned if the request is successful.
Returns a page of issue types in a project using a given status.
Optional
maxThe maximum number of results to return. Must be an integer between 1 and 200.
Optional
nextThe cursor for pagination
The projectId to fetch issue type usages for
The statusId to fetch issue type usages for
Returned if the request is successful.
example:
{
"issueTypes": {
"nextPageToken": "eyJvIjoyfQ==",
"values": [
{
"id": "1000"
}
]
},
"projectId": "2000",
"statusId": "1000"
}
Returns a page of projects using a given status.
Optional
maxThe maximum number of results to return. Must be an integer between 1 and 200.
Optional
nextThe cursor for pagination
The statusId to fetch project usages for
Returned if the request is successful.
example:
{
"projects": {
"nextPageToken": "eyJvIjoyfQ==",
"values": [
{
"id": "1000"
}
]
},
"statusId": "1000"
}
Returns a list of the statuses specified by one or more status IDs.
Permissions required:
Optional
expand?: stringDeprecated. See the deprecation notice for details.
Use expand to include additional information in the response. This parameter accepts a comma-separated list. Expand options include:
usages
Returns the project and issue types that use the status in their
workflow.workflowUsages
Returns the workflows that use the status.The list of status IDs. To include multiple IDs, provide an ampersand-separated list. For example, id=10000&id=10001.
Min items 1
, Max items 50
Returned if the request is successful.
example:
[
{
"description": "The issue is resolved",
"id": "1000",
"name": "Finished",
"scope": {
"project": {
"id": "1"
},
"type": "PROJECT"
},
"statusCategory": "DONE",
"usages": [
{
"issueTypes": [
"10002"
],
"project": {
"id": "1"
}
}
],
"workflowUsages": [
{
"workflowId": "545d80a3-91ff-4949-8b0d-a2bc484e70e5",
"workflowName": "Workflow 1"
}
]
}
]
Returns a page of workflows using a given status.
Optional
maxThe maximum number of results to return. Must be an integer between 1 and 200.
Optional
nextThe cursor for pagination
The statusId to fetch workflow usages for
Returned if the request is successful.
example:
{
"statusId": "1000",
"workflows": {
"nextPageToken": "eyJvIjoyfQ==",
"values": [
{
"id": "545d80a3-91ff-4949-8b0d-a2bc484e70e5"
}
]
}
}
Returns a paginated list of statuses that match a search on name or project.
Permissions required:
Optional
expand?: stringDeprecated. See the deprecation notice for details.
Use expand to include additional information in the response. This parameter accepts a comma-separated list. Expand options include:
usages
Returns the project and issue types that use the status in their
workflow.workflowUsages
Returns the workflows that use the status.Optional
maxThe maximum number of items to return per page.
Optional
projectThe project the status is part of or null for global statuses.
Optional
searchTerm to match status names against or null to search for all statuses in the search scope.
Optional
startThe index of the first item to return in a page of results (page offset).
Optional
statusCategory of the status to filter by. The supported values are: TODO
,
IN_PROGRESS
, and DONE
.
Returned if the request is successful.
example:
{
"isLast": true,
"maxResults": 2,
"nextPage": "https://your-domain.atlassian.net/rest/api/3/statuses/search?startAt=2&maxResults=2",
"self": "https://your-domain.atlassian.net/rest/api/3/statuses/search?startAt=0&maxResults=2",
"startAt": 0,
"total": 5,
"values": [
{
"description": "The issue is resolved",
"id": "1000",
"name": "Finished",
"scope": {
"project": {
"id": "1"
},
"type": "PROJECT"
},
"statusCategory": "DONE",
"usages": [
{
"issueTypes": [
"10002"
],
"project": {
"id": "1"
}
}
],
"workflowUsages": [
{
"workflowId": "545d80a3-91ff-4949-8b0d-a2bc484e70e5",
"workflowName": "Workflow 1"
}
]
}
]
}
Updates statuses by ID.
Permissions required:
The list of statuses that will be updated.
Returned if the request is successful.
Protected
Static
initialize
This resource represents statuses. Use it to search, get, create, delete, and change statuses.
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-status