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

Your Points Tracker
  • 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
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?
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

JQL Query for Story list with Feature Labels

Is there a way I can build a JIRA JQL query to show a list of stories connected to features with a specific label? My features are in a different project used by our company and the stories all sit in multiple other projects. 

Feature level Project =  "MM1PP"

label = x

Story projects like IOP1, IOP2 etc

2 answers

1 accepted

0 votes
Answer accepted

Hi Nicole,

We use the following which is a life saver: plugin: which you will have to purchase.



1. Create a new filter that contains all features with label "x" and save it as Filter ABC. e.g

project = MM1PP and and label = "x"

2. Then you create a new filter: issuetype in (story) and issue in  linksHierarchyFilter("Filter ABC")

3. All stories under feature that have label x will display.

Hello Nicole,

Returning linked issues via JQL is not supported out of the box. However, you can do so by using a plugin with JQL support such as Power Scripts. 

For more information on doing this with Power Scripts, please see this documentation.

Your script would look something like:

string [] result;
string [] jql = "key in hasLinks('" + argv[0] + "')";
string [] issues = selectIssues(jql);

for (string issue in issues) {
    string [] linkedIssues = linkedIssues(issue);
    for (string linkedIssue in linkedIssues) {
        if (linkedIssue.issueType == "Story") {
            result += linkedIssue;

return result;

The search would look something like the following:

key in silJQLList("scratch.sil", "project = EX AND labels = label1")

Full disclosure, I am a support engineer for Anova Apps, an Appfire Company.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

171 views 6 7
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