Can we query issues in which custom fields(ex:sub-status field) was modified by a user in JQL ?

Shamith K S April 13, 2014

I need a query where it would list all the issues in which customfield (ex: sub-status) is changed by a user.

I know this can be done for system fields using 'changed by' and 'changed from' , how can we extend for cutom fields ?

1 answer

1 accepted

1 vote
Answer accepted
Boris Georgiev _Appfire_
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.
April 13, 2014

You might try to add this custom field to the list of fields that are indexed by the Change History Indexer and try if the changed operator will work then

To achieve that you'll need to write a plugin which uses the following method and probably something more to add the field to the indexed fields

com.atlassian.jira.issue.index.IndexedChangeHistoryFieldManager.addIndexedChangeHistoryField(IndexedChangeHistoryField)

Lee Alexis Bermejo February 14, 2018

how is com.atlassian.jira.issue.index.IndexedChangeHistoryFieldManager.addIndexedChangeHistoryField(IndexedChangeHistoryField) to be implemented in a plugin? just call it in updateChangelogValue() ?

Suggest an answer

Log in or Sign up to answer