GET /rest/api/2/field/{fieldId}/context/projectmapping

Returns a paginated 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 required: Administer Jira global permission.

Servers

Path parameters

Name Type Required Description
fieldId String Yes

The ID of the custom field, for example customfield\_10000.

Query parameters

Name Type Required Description
startAt Integer No

The index of the first item to return in a page of results (page offset).

Default value: 0

maxResults Integer No

The maximum number of items to return per page.

Default value: 50

contextId[] Array No

The list of context IDs. To include multiple context, separate IDs with ampersand: contextId=10000&contextId=10001.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.