Missed Team ’24? Catch up on announcements here.

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

How do I specify nested fields (e.g., creator.name) when calling the search API?

Troy Gizzi March 25, 2015

The following API call will return a lot of unnecessary information under the "creator" field:

  • /rest/api/2/search?fields=creator

I just want the creator's name, so I tried the following alternatives:

  • /rest/api/2/search?fields=creator.name
  • /rest/api/2/search?fields=creator/name
  • /rest/api/2/search?fields=creator-name

But none of those work.

Is there a way to limit the result details to specific nested fields?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 15, 2015

Sadly there is not a way to achieve what you are looking for. By default, it will respond with this, and there isn't a way to limit that result. 

Best of luck.  

TAGS
AUG Leaders

Atlassian Community Events