Forums

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

Need to grab a history of custom_field jira - custom listener

Aishwarya Rajan March 14, 2018

how to grab the history of a checkbox customfield which has only one option to be checked.  Also, I want to see if that custom_field value is updated from null to yes so that I can perform some action.

for eg:

Custom_Field (chkbox)  :  Yes

Here, the value can be either null (when Yes is not selected) or it can be Yes..when Yes is checked.

Any leads are appreciated. TIA

 

1 answer

0 votes
Jenna Davis
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.
March 21, 2018

Hello, 

I believe you'll want to look into the Change History Manager class from the JIRA api. Specifically the getChangeItemsForField() method in order to grab the change history of your field. 

If you need help working with this further, please let me know. :)

Jenna Davis

Aishwarya Rajan March 22, 2018

Hi @Jenna Davis..sure I will try and let you know. Thanks for the reply!

Suggest an answer

Log in or Sign up to answer