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

KeyDatatypeRequiredDescription
contextIdstringThe ID of the context. To include multiple contexts, provide an ampersand-separated list. For example, contextId=10001&amp;contextId=10002.
contextIdstringThe ID of the context. To include multiple contexts, provide an ampersand-separated list. For example, contextId=10001&amp;contextId=10002.
startAtnumberThe index of the first item to return in a page of results (page offset).
maxResultsnumberThe maximum number of items to return per page.

RESPONSES

status: OK

{&quot;maxResults&quot;:100,&quot;startAt&quot;:0,&quot;total&quot;:3,&quot;isLast&quot;:true,&quot;values&quot;:[{&quot;contextId&quot;:&quot;10001&quot;,&quot;issueTypeId&quot;:&quot;10010&quot;},{&quot;contextId&quot;:&quot;10001&quot;,&quot;issueTypeId&quot;:&quot;10011&quot;},{&quot;contextId&quot;:&quot;10002&quot;,&quot;isAnyIssueType&quot;:true}]}