Get Issue Types For Custom Field Context
GET {{baseUrl}}/rest/api/3/field/:fieldId/context/issueTypeMapping?contextId=<long>&contextId=<long>&startAt=0&maxResults=50
Returns a paginated list of context to issue type mappings for a custom field. Mappings are returned for all contexts or a list of contexts. Mappings are ordered first by context ID and then by issue type ID.
Permissions required: Administer Jira global permission.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
contextId | string | The ID of the context. To include multiple contexts, provide an ampersand-separated list. For example, contextId=10001&contextId=10002 . | |
contextId | string | The ID of the context. To include multiple contexts, provide an ampersand-separated list. For example, contextId=10001&contextId=10002 . | |
startAt | number | The index of the first item to return in a page of results (page offset). | |
maxResults | number | The maximum number of items to return per page. |
RESPONSES
status: OK
{"maxResults":100,"startAt":0,"total":3,"isLast":true,"values":[{"contextId":"10001","issueTypeId":"10010"},{"contextId":"10001","issueTypeId":"10011"},{"contextId":"10002","isAnyIssueType":true}]}