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

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 votes
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
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,089 views 0 8
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