provider Issue custom field associations PUT /rest/api/3/field/association
@utdk/jira /rest/api/3/field/association
Create associations
Associates fields with projects. Fields will be associated with each issue type on the requested projects. Fields will be associated with all projects that share the same field configuration which the provided projects are using. This means that while the field will be associated with the requested projects, it will also be associated with any other projects that share the same field configuration. If a success response is returned it means that the field association has been created in any applicable contexts where it wasn't already present. Up to 50 fields and up to 100 projects can be associated in a single request. If more fields or projects are provided a 400 response will be returned. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createassociations
PUT/rest/api/3/field/association
Associates fields with projects. Fields will be associated with each issue type on the requested projects. Fields will be associated with all projects that share the same field configuration which the provided projects are using. This means that while the field will be associated with the requested projects, it will also be associated with any other projects that share the same field configuration. If a success response is returned it means that the field association has been created in any applicable contexts where it wasn't already present. Up to 50 fields and up to 100 projects can be associated in a single request. If more fields or projects are provided a 400 response will be returned. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

Input

required

Contexts to associate/unassociate the fields with.

required

Fields to associate/unassociate with projects.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.createassociations()