Numer of Days in Blocked Status

I am looking to be able to run some form of jql to determine if a jira card has been in a status of blocked for more than e.g. 2 days. I looked at post functions but i would need to transition. Is there a way of flagging a date in a customer field when someone updates the priority field to blocked?

3 answers

1 accepted

0 vote

You can write a listener that updates the custome field.

https://confluence.atlassian.com/display/JIRA/Listeners

It can be done in Java or scripts (using plugins like script runner).

0 vote
Timothy Chin Community Champion Oct 07, 2013

You might be able to do this with the script runner add on. To get the actual data that you want, the Suite Utilities add on has an issue tab panel that does that. You can get the source code from there.

Thanks guys for your help, i will give this a try

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

158 views 1 17
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