{ "opencollection": "1.0.0", "info": { "name": "Atlassian Admin Account Workflow Scheme Project Associations API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Workflow Scheme Project Associations", "type": "folder" }, "items": [ { "info": { "name": "Atlassian Get Workflow Scheme Project Associations", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/rest/api/3/workflowscheme/project", "params": [ { "name": "projectId", "value": "", "type": "query", "description": "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`." } ] }, "docs": "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](#permissions) required:** *Administer J" }, { "info": { "name": "Atlassian Assign Workflow Scheme To Project", "type": "http" }, "http": { "method": "PUT", "url": "https://api.atlassian.com/rest/api/3/workflowscheme/project", "body": { "type": "json", "data": "{}" } }, "docs": "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](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)." } ] } ], "bundled": true }