The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Retrive attributes of a referenced object via Jira API

Daniel
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!
July 16, 2024

Hi everyone,

I was using this Jira endpoint to fetch objects by AQL, but it will be removed soon. It is raccommended to use this other endpoint, but I have encountered a problem that I haven't found a solution for.

Let me give you an example: 
Suppose there are two objects, House and Location, each with several attributes, where a House has a reference to a Location. With the deprecated endpoint, you could add a query parameter ('includeAttributesDeep=2') so that the response would include the information about the Location along with all its attributes.

I'm trying to understand if it's possible to achieve the same result without calling the new endpoint twice, but I haven't been able to find a solution. Do you have any suggestions?

Thanks

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.