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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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!

3 answers

2 accepted

1 vote
Answer accepted

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

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

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
Community showcase
Published in Apps & Integrations

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

208 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you