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 vote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

73 views 0 5
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