How can I query the history of an issue?

Robert Matthews August 23, 2012

We need to run a query to capture the transition state change (in the middle of a workflow) from the History within individual issues. We are running Jira 4.3.4.

2 answers

1 accepted

0 votes
Answer accepted
rishiranka_bitbucket August 23, 2012

List Li = ComponentManager.getInstance().getChangeHistoryManager().getAllChangeItems(issue);

Where issue is the issue object which you can retrieve it from issue Key

Robert Matthews August 23, 2012

I do not have access to the database. These queries need to be run within the Jira application and by a number of different people. The needed query must run against multiple projects as well.

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2012

From JIRA 4.4, there is WAS and CHANGED operators you can use. Nothing in 4.3.4 AFAIK.

Suggest an answer

Log in or Sign up to answer