The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am hitting this API
https://test.atlassian.net/rest/api/2/search
It returns a vast json file.
I have a problem with this field
I need to exclude it from the response.
is there any way to do so?
Direct REST API search returns huge data.
Sample:
https://test.atlassian.net/rest/api/2/search?jql=key=ABC-1
You can do filtering by adding; "&fields="
Optimized:
https://test.atlassian.net/rest/api/2/search?jql=key=ABC-1&fields=id,key,type,status,customfield_10001
It is possible to indicate system or custom fields as a parameter such as key, status, priority, type etc.
So that, it only returns the needed JSON info and response quickly.
Hope it helps.
Hello Tansu,
The problem is that I need everything except the "avatarURLS" field.
And this field is inside the "changelog"->"Histories"->"author".
And this is the only field that I don't want.
I need the changelog to be present in the response.
Thank you for your time
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tansu Akdeniz Sorry for bothering, but is there any way to do exclude only the field "avatarURLS" from the response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem, need to ignore the avatar fields from the response json
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.