Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 JQL a list of tasks that are linked to a feature that has a specific tag?

fmak I'm New Here Mar 12, 2021

Hi,

I have a list of features, and in each of the features, i have linked tasks that will deliver that feature.

I have labelled each of these features with a tag "x". 

Is it possible to write a JQL that get all the list of tasks which will deliver feature that has the "x" tag?

Many thanks!

3 answers

Hi @fmak -- Welcome to the Atlassian Community!

Unfortunately you cannot perform that query with out of the box Jira Cloud.  Your options to solve this depend upon how frequently you need this solved:

  • Need this often: consider purchasing a JQL add-on from the marketplace to enhance searches
  • Need this infrequently...

a) Run one query to get all of your epics with that tag/label

project = myProject
AND issueType = Epic
AND Labels = "X"

b) Export the list of issues, and grab just the keys to produce a list like this: (EPIC-1, EPIC-2, EPIC-3, ...)

c) Run another query to get the tasks for those epics

project = myProject
AND issueType = task
AND "Epic Link" IN (EPIC-1, EPIC-2, EPIC-3, ...)

 

Best regards,

Bill

0 votes
Olga Videc Community Leader Mar 15, 2021

Hello @fmak 

First, everything that Bill wrote is correct, you can't achieve this out of the box you need an add-on from the marketplace.

There are many choices, commonly used Adaptavist ScriptRunner.

Here is JQL for Scriptrunner

issueFunction in linkedIssuesOf("issuetype = task and labels in ( 'label_1', 'label_2')" )

You can change the issue type to whatever you want or you can use a different condition you can use project instead of issue type, whatever you want.

BR, Olga

Hi @fmak 

Also, you can try the app created by my team - Dynamic Filter: JQL Replacer.

It lets you filter the issue list without JQL knowledge. In your case, you can create make such configurations like in this screenshot.

2021-03-17_9-57-04.png

If you need more information, place let me know.

Regards

Zoryana

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS

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