Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can i get the tickets in JIRA that are first time moved to any specific status?

Vikram Rao July 17, 2019

How can i get the tickets in JIRA that are first time moved to any specific status?

 

Example, status "Awaiting Support" can be moved any number of times from different statuses in JIRA as needed. But i wanted to extract the number of tickets that moved to "Awaiting Support" for the first time.

 

Appreciate support.

2 answers

1 accepted

1 vote
Answer accepted
Thomas Schlegel
Community Champion
July 17, 2019

Hi @Vikram Rao

Jira does not count the number of times an issues reaches a status. So, if you want the exact number, you could add a costum field of type number and every time an issue reaches "Awaiting Support" again count one up.

You can get an approximate value if you query like this:

status = "Awaiting Support" and status was not "Awaiting Support" before startOfDay()

or

status = "Awaiting Support" and status was not "Awaiting Support" before "-2h"

These are the issues in the status "Awaiting Support" which were never before in this status before today or before 2 hours. Maybe this is exact enough for you. 

Vikram Rao July 17, 2019

Thomas, thanks for the input, but this doesn't serve my purpose.

 

I wanted the tickets which are moved first time to that status in a specified duration, say in a month.

Thomas Schlegel
Community Champion
July 17, 2019

I see, maybe this is it:

status changed to "Awaiting Support" during ("-30d", now()) and !(status changed to "Awaiting Support" before "-30d")

Result should be all the issues which were moved to awaiting support in the last 30 days and which were never in this status before.

Vikram Rao July 18, 2019

Looks like this is very close to my requirement, i will check and revert back on this.

 

Thanks Thomas, appreciate your help.

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
July 17, 2019

Hello @Vikram Rao 

There is no bundled solution for that, you need to do some workaround.

Alternatively, you can use Enhancer Plugin . It has Status Counter custom field in which you can configure how many times the issue was moved to configured status.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events