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: 

JQuery that will pull up ALL Stories that have SubTasks that are assigned to Me.

Misba Momin
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!
October 6, 2021

I need a JQuery that will shows results of ONLY 'Stories' from Subtasks that are assigned to me. 

 

So right now, all stories are unassigned. The sub-tasks are assigned to couple of resources. What I want to do is - do a search where it will populate a list of stories (only stories) that have associated subtasks that are assigned to me. Can someone please assist?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Emrys
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!
September 30, 2025

Hi Misba
I had a similar requirement and used:


project = someProject AND (issuetype in subTaskIssueTypes() OR issueFunction in hasSubtasks()) ORDER BY priority DESC, updated DESC

 

Know the question was asked ages ago but maybe it will help someone.

0 votes
Carla Ann Rowland
Community Champion
October 25, 2021

It is difficult without script runner to answer this. There are a few thinks to know in my instance I created a linktype for the relationship between issues: for Parent of (outward) and "child of" (inward).

 

Project = (name of your project) AND assignee= (your name) AND issuelinktype in ("is child of")

 

Results will be sub-task only assigned to you.