POST /rest/api/2/issue/bulkfetch
Returns the details for a set of requested issues.
By default you can request up to 100 issues in a single call. You can request up to 1000 issues in a single call when the request is shaped so that it can be served efficiently, that is, when all of the following are true:
- the
fieldsparameter explicitly names at least one field to include — a request that contains only exclusions is not eligible, and neither are the*alland*navigablewildcards or the default navigable field set, because the number of resolved fields depends on the site's configuration; - no more than 100 fields are explicitly included;
- none of the included fields returns multiple values (for example
comment,worklog, orattachment); and - the
expandparameter does not includechangelog,editmeta,operations,renderedFields,transitions, orversionedRepresentations.
Requests that do not meet all of these conditions can include at most 100 issues; larger requests are rejected with a 400 error.
Each issue is identified by its ID or key, however, if the identifier doesn't match an issue, a case-insensitive search and check for moved issues is performed. If a matching issue is found its details are returned, a 302 or other redirect is not returned.
Issues will be returned in ascending id order. If there are errors, Jira will return a list of issues which couldn't be fetched along with error messages.
This operation can be accessed anonymously.
Permissions required: Issues are included in the response where the user has:
- Browse projects project permission for the project that the issue is in.
- If issue-level security is configured, issue-level security permission to view the issue.
Servers
- https://your-domain.atlassian.net
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
fieldsByKeys |
Boolean | No |
Reference fields by their key (rather than ID). The default is |
issueIdsOrKeys[] |
Array | Yes |
An array of issue IDs or issue keys to fetch. You can mix issue IDs and keys in the same query. You can request up to 100 issues per call. Requests can include up to 1000 issues per call when they meet all of the conditions described for the |
properties[] |
Array | No |
A list of issue property keys of issue properties to be included in the results. A maximum of 5 issue property keys can be specified. |
expand[] |
Array | No |
Use expand to include additional information about issues in the response. Note that, unlike the majority of instances where
To request up to 1000 issues in a single call, do not include |
fields[] |
Array | No |
A list of fields to return for each issue, use it to retrieve a subset of fields. This parameter accepts a comma-separated list. Expand options include:
The default is Examples:
Multiple Note: All navigable fields are returned by default. This differs from GET issue where the default is all fields. To request up to 1000 issues in a single call, explicitly list the fields you need: at least one field must be a positive include (a request containing only exclusions is not eligible), the |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.