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: 

Query for the child issues of a project but still show the main projects they're attached to?

Sofie Palacios
March 8, 2024

I'm trying to show Actual Time spent on the child issues of a project, but show the Estimated Dev Time that was put on the main project issue itself. 

So far I've tried:

issuekey in childIssuesOf("XXX")

The problem with this is that it only returns the child issues themselves. Where I want the data from the child issues, but show the main project itself. 

I've always tried: 

project = PROJECT_TYPE  AND status = closed AND resolutiondate >= startOfYear() 

This shows me the main projects itself (which is great), but only shows time logged in that main project issue and not the child issues of the project.

Any help would be greatly appreciated!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Derek Fields _RightStar_
Community Champion
March 8, 2024

Try:

issuekey in childIssuesOf("XXXX") OR issuekey = "XXXX"

That should return both the main issues and all of its children