Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,149
Community Members
 
Community Events
165
Community Groups

1 answer

0 votes
Tansu Akdeniz Community Leader Nov 13, 2020

Hi @Jawad Zakhour 

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

@Tansu Akdeniz Sorry for bothering, but is there any way to do exclude only the field "avatarURLS" from the response.

Tansu Akdeniz Community Leader Nov 15, 2020

As I know there is no way to exclude it.

Ashok I'm New Here Mar 19, 2022

Same problem, need to ignore the avatar fields from the response json

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 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...

14,648 views 37 46
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you