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:

https://jira.atlassian.com/browse/JRA-25640

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

467 views 6 11
Read article

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