NotifiableUpdate

This functionality is based on a Listener, a Manager and a set of JellyTag.

The objective is to maintain an update date reserved to specific fields.

NotifiableUpdate - NotifiableUpdateManager Rule

  • NotifiableUpdateManager has in charge : :
    • The storage of NotifiableFields.
    • The update of Notifiable Custom Date.


The NotifiableFields are standards fields or customfield for which any update requires the update of a dedicated date.

Its provides a way to identify small update against significant updates. NotifiableUpdateManagerImpl, the default implementation of NotifiableUpdateManager assumes a storage of theses fields in the PropertySet tables.

NotifiableUpdate - Jelly Tags AddNotifiableFields Usage

To define these NotifiableFields, two tags are provided.

Usage is :

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.MinyaaToolsTagLib">
	<jira:AddNotifiableFields project-key="TST" >
		<jira:AddNotifiableField name="description" value="true" />
		<jira:AddNotifiableField name="summary" value="true" />
		<jira:AddNotifiableField name="myCustomfield" value="true" />
		<jira:AddNotifiableField name="project.notifiable.customfield" value="NotableUpdateDate" />
	</jira:AddNotifiableFields >
</JiraJelly>

Script above defines 3 fields as notifiable fields. In case of update of the Summary or Description fields or the custom field - identified myCustomfield - the customfield date - identified NotableUpdateDate - has to be updated.

NotifiableUpdate - NotifiableUpdateIssueEventListener Rule

This listener takes in charge the comparison of Updated Fields against fields defined as Notifiable. If at least of them is updated, then an update of norifiableDate is delegate to the NotifiableUpdateManager.

Usage is :

  • Go to Listeners Administration page,
  • Add the following listener :
    com.atlassian.jira.event.issue.NotifiableUpdateIssueEventListener