Internal
Create a new instance of the service.
Assigns a workflow scheme to a project. This operation is performed only when there are no issues in the project.
Workflow schemes can only be assigned to classic projects.
Permissions required: Administer Jira global permission.
Returned if the request is successful.
Returns a list of the workflow schemes associated with a list of projects. Each returned workflow scheme includes a list of the requested projects associated with it. Any team-managed or non-existent projects in the request are ignored and no errors are returned.
If the project is associated with the Default Workflow Scheme
no ID is
returned. This is because the way the Default Workflow Scheme
is stored means
it has no ID.
Permissions required: Administer Jira global permission.
The ID of a project to return the workflow schemes for. To include multiple
projects, provide an ampersand-Jim: oneseparated list. For example,
projectId=10000&projectId=10001
.
Returned if the request is successful.
example:
{
"values": [
{
"projectIds": [
"10010",
"10020"
],
"workflowScheme": {
"defaultWorkflow": "jira",
"description": "The description of the example workflow scheme.",
"id": 101010,
"issueTypeMappings": {
"10000": "scrum workflow",
"10001": "builds workflow"
},
"name": "Example workflow scheme",
"self": "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"
}
}
]
}
Protected
Static
initialize
This resource represents the associations between workflow schemes and projects.
For more information, see Managing your workflows.
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-scheme-project-associations