Deactivate History Changelog for JIRA Custom Field

Alexander Pöhl November 12, 2014

Hi there,

I developed a JIRA plugin with a custom field that stores some "cryptic" data in its database field, a velocity template processes the data to a graphical representation for the users which is editable by clicking on it. So the user should not come in touch with the underlying raw data.

Does anybody know if it is possible to deactivate the history or changelog mechanism for a single custom field?

My intention is to exclude the custom field updates at least from

  • the history view of an JIRA issue
  • the update notification emails

 

I'm using JIRA version 6.3.8 and my custom field type extends AbstractSingleFieldType<String>

 

Thanks in advance!

Alex

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Alexander Pöhl November 12, 2014

just find a solution!

@Override
public String getStringFromSingularObject(String singularObject) {
    return null;
}

the returning value "null" prevents a changelog entry and seems to have no negative impact on presentation or persistence of the custom field.

 

TAGS
AUG Leaders

Atlassian Community Events