Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

2 answers

0 votes
Jens.Doebler@Sophos.com
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2025

Is this regarded as an enhancement request?

0 votes
Tansu Akdeniz
Community Champion
November 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.

Jawad Zakhour November 13, 2020

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

Jawad Zakhour November 15, 2020

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

Tansu Akdeniz
Community Champion
November 15, 2020

As I know there is no way to exclude it.

Ashok
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 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
AUG Leaders

Atlassian Community Events