Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get workflow scheme for project

Returns the workflow scheme that is associated with requested project.

GET/api/2/project/{projectKeyOrId}/workflowscheme
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
projectKeyOrIdstringrequired

The key or id of the project

Responses
200

Returned if requested project exist and has associated workflow scheme, and the user has permission to see it.

defaultWorkflowstring
descriptionstring
draftboolean
idinteger<int64>
issueTypeMappingsobject
issueTypesobject
lastModifiedstring
lastModifiedUserUserBean
Show properties
activeboolean
applicationRolesSimpleListWrapperApplicationRoleBean
Show properties
callbackListWrapperCallbackApplicationRoleBean
maxResultsinteger<int32>
pagingCallbackListWrapperCallbackApplicationRoleBean
sizeinteger<int32>
avatarUrlsobject
deletedboolean
displayNamestring
emailAddressstring
expandstring
groupsSimpleListWrapperGroupJsonBean
Show properties
callbackListWrapperCallbackGroupJsonBean
maxResultsinteger<int32>
pagingCallbackListWrapperCallbackGroupJsonBean
sizeinteger<int32>
keystring
lastLoginTimestring
localestring
namestring
selfstring<uri>
timeZonestring
namestring
originalDefaultWorkflowstring
originalIssueTypeMappingsobject
selfstring<uri>
updateDraftIfNeededboolean
401

Returned if the requested user is not authenticated.

403

Returned if the requested user does not have permission to administer Jira.

404

Returned if the requested project does not exist.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/project/string/workflowscheme' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "defaultWorkflow": "DefaultWorkflowName",
  "description": "This is a workflow scheme",
  "draft": false,
  "id": 10000,
  "issueTypeMappings": {
    "IsueTypeId": "WorkflowName",
    "IsueTypeId2": "WorkflowName"
  },
  "issueTypes": {
    "IsueTypeId": {
      "name": "IssueTypeName",
      "description": "IssueTypeDescription"
    }
  },
  "lastModified": "Today 12:45",
  "lastModifiedUser": {
    "active": true,
    "applicationRoles": [
      "jira-core",
      "jira-admin",
      "important"
    ],
    "avatarUrls": {
      "48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
      "24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
      "16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
      "32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
    },
    "deleted": false,
    "displayName": "Fred F. User",
    "emailAddress": "fred@example.com",
    "expand": "string",
    "groups": {
      "callback": {},
      "maxResults": 0,
      "pagingCallback": {},
      "size": 0
    },
    "key": "JIRAUSER10100",
    "lastLoginTime": "2023-08-30T16:37:01+1000",
    "locale": "en_AU",
    "name": "fred",
    "self": "http://www.example.com/jira/rest/api/2.0/user?username=fred",
    "timeZone": "Australia/Sydney"
  },
  "name": "My Workflow Scheme",
  "originalDefaultWorkflow": "ParentsDefaultWorkflowName",
  "originalIssueTypeMappings": {
    "IssueTypeId": "WorkflowName2"
  },
  "self": "http://www.example.com/jira/rest/api/2/workflowscheme/10000",
  "updateDraftIfNeeded": true
}

Was this page helpful?