provider Issue custom field contexts GET
/rest/api/3/field/{fieldId}/context/projectmapping @utdk/jira
/rest/api/3/field/{fieldId}/context/projectmapping Get project mappings for custom field context
Returns a [paginated](#pagination) list of context to project mappings for a custom field. The result can be filtered by `contextId`. Otherwise, all mappings are returned. Invalid IDs are ignored.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
- fieldId path required
- The ID of the custom field, for example `customfield\_10000`.
- string
- contextId query
- The list of context IDs. To include multiple context, separate IDs with ampersand: `contextId=10000&contextId=10001`.
- array
- startAt query
- The index of the first item to return in a page of results (page offset).
- integer
- maxResults query
- The maximum number of items to return per page.
- integer
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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import jira from '@utdk/jira';
await jira.getprojectcontextmapping({
"startAt": 0,
"maxResults": 50
})