JQL to identify the list of items whose defect severity has changed

Hi All,

I would like to get a report on list of items that has changed its defect severity value, for example Medium to High. 

 

I found on internet that 'Changed' can be applied but it is limited to only few attributes like Assignee,status and Priority as per the below link.

https://confluence.atlassian.com/jiracore/blog/2015/07/search-jira-like-a-boss-with-jql

I am looking similarly for Defect Severity but unable to get. Any information provided will be really helpful.

Thanks,

Vijay

 

4 answers

0 votes
Sam Hall Community Champion Apr 06, 2017

Hi Vijay - 'Defect Severity' isn't a standard JIRA field. Is this a custom field you have added to your JIRA project(s)? 

Hi Sam,

Yes it is one of the custom field assigend to defect.

 

Thanks,

Vijay

Hi,

You could achieve this with SIL JQL Search. For that you need to use this JQL:

key in silJQLExpression('arrayElementExists( fieldHistory(key, "priority"), 3) ', 'project = TEST') and priority = High

Where 3 is the priority id for "Medium" in my JIRA. You need to see what is you priority id for "Medium" in your JIRA.

You can find more JQL searches here: https://confluence.cprime.io/display/TR/SIL+JQL+Search

Also, you can read more about SIL Routines here:

https://confluence.cprime.io/display/SIL/Routines

Best Regards,

Ana

Hi,

In the answer above, you may replace

fieldHistory(key, "priority")

with

fieldHistory(key, "Your customfield name")

or

fieldHistory(key, "Your_customfield_id")

no matter what it would be, as long as it is a JIRA customfield or other supported customfield.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot