I am attempting to create an API call that will return the Issue.Name value and the name and results of 4 fields relating to each issue in a project. I have been able to get different variants but no jql query that will return only the results I am looking for.
https:///rest/api/latest/search?jql=project=10900&maxResults=50 is the code I used to return the original data.
You can use the fields
query parameter. By name of issue, do you mean the summary
field? That’s the one-line title of the issue. But here’s an example of your query with a fields
query param added, pulling only the following fields:
- summary (what I think you mean by name)
- creation date
- a custom field
https://{{yourinstance}}/rest/api/latest/search?jql=project=10900&maxResults=50&fields=summary,created,customfield_10030
Docs for the issue search method: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get
1 Like
This solved my issue. Thanks