JQL: check if issue's epic meets condition

I want to set up a custom query for Card Colours in Rapid Boards on GreenHopper. I'd like to implement the following logic:

If epic (that a story is linked to) is of certain state (say, OPEN), assign colour to this story. So, I want to indirectly check the state of another (linked) issue (epic) to determine the colour of this issue (story).

I'm talking about an epic as an issue type here, one that can be used not only in Scrum Board, but also on Kanban Board.

Can this be done using JQL?

2 answers

1 accepted

0 vote
Jeff Curry Atlassian Team Jul 08, 2013

Looks like there is an outstanding feature request for this:


Afraid I don't see a possibility to do this outside of the above feature request

Hi Arthur,

The Script Runner issueFunction add-on has some neat functionality you could leverage for this. I've written up how we use it for highlighting dependencies in Using the Epic Workflow in GreenHopper.

From your description you may want to use something similar to:

issueFunction in linkedIssuesOf(“issuetype = Epic and status = Open")

Give that a try and let me know if it solves your problem.

Thanks Arthur,
Nicholas Muldoon

Hi Nicholas, this sounds very promissing. Can it be used with JIRA ondemand though?

Unfortunately not.

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

301 views 38 9
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot