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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,867
Community Members
 
Community Events
184
Community Groups

How to get the sub-tasks of the stories assigned to a user (including sub-tasks assigned to othe

Edited

We need to build a query to filter all the stories assigned to a user, including the sub-tasks of the stories (whether they are assigned to the user or not).
We use:
assignee = USER1
but this query doesn't show us the sub-tasks, that being related to the stories assigned to USER1, are assigned to other users.

Thank you very much!

4 answers

2 accepted

1 vote
Answer accepted
Jack Nolddor [Sweet Bananas]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 07, 2020

Hi Sergio,

Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:

 

1) All the stories assigned to a user, including the sub-tasks of the stories (whether they are assigned to the user or not).

type = Story AND assignee = "your_user" OR issue IN subtasksOf('type = Story AND assignee = "your_user"')

(*) Note that this is just an example, you must tune above query to fit your needs.

 

Using this app you can also query other issues relations, check:

 

References:

 

Hope this helps you to create awesome queries <3

0 votes
Answer accepted
Mohamed Benziane
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 07, 2020

Hi @Sergio Benso 

You will need an addon like Scriptrunner that will give you more JQL function.

Thank you very much for your contribution, but I don't have permission to install addons

type = Story AND 

( assignee = [insertUserIdHere] OR (issueFunction in subtasksOf("assignee =[INsertTheSameUserIdHere]")) )

Thank you very much.
I will propose to the administrators of my organization to install some additional package.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events