Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

Suggest an answer

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

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,022 views 8 28
Join discussion

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