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

How to expand story for all tasks when we do expand=true in rest api request for tasks in Jira Align

Mahir Shah
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!
November 7, 2022

I am trying the rest api /tasks?expand=true to get the details of the story in it. But when I call the request with "/tasks?expand=true", stories for only some tasks get expanded rather then for all tasks. Is their any setting which we need to enable while making an rest api request for tasks with "expand=true" ? 

Thanks in advance.

1 answer

0 votes
Huw Pattinson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 1, 2023

Hi @Mahir Shah

Can you share some more details on your use-case? In my testing I did not see the Story details unfurling even when media type was configured as:

application/json;odata.metadata=full;odata.streaming=false

Though I can see it in the example response body. Two paths forward that I suggest; either separately pull your Stories (as you have the Story ID returned for the Tasks), and/or log a support ticket for further investigation by our Jira Align support team (make sure to include the details of your Jira Align instance). 

Good luck!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events