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 votes
Accepted answer
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?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 11 hours ago in Canada

Happy New Year - First AUG of the year - great success

Hi Everyone, Hope everyone had a great holiday season and is ready for an exciting 2019.  We had our first AUG last night featuring Tempo Timesheets.  A great presentation and lots of int...

14 views 0 1
View post

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