Increase number field value
Overview
The Increase number field value post function allows you to increase the number field value by a defined amount when a workflow transition is executed.
Configuration
Select a custom field to increase its value in the Number custom field field
Select the value that will be added to the custom field in the Value field (e.g. “5”)
Select if the post function should be executed by the current or another user in the Action executor field (see User Permissions below)
If you have selected Current user option, the post function will be executed by the user making the workflow transition
If you have selected Another user option, provide a user in the User field, so that the post function will be executed by this user
Activate the JQL condition option and define the JQL query that has to be met by the issue in order to execute the post function (e.g. “type = Bug and Priority = Blocker”)
Activate the Executor condition option if you want the post function to be executed only if the user is or isn’t in a certain Jira user group or project role
Select if The executor has to be or can’t be a member of a certain Jira user group or project role
Select a Jira user group in the Group field if Group was set in the member of a field
Select a project role in the Project role field if Project role was set in the member of a field
Activate the Fire event option if you want Jira to fire the ISSUE_UPDATED event
Activate the Send notification option if you want Jira to send the notification according to the configured notification scheme. The option requires the Fire event option to be enabled in order to send the notification
User Permissions
The user set as Action executor in point 3 needs to have the Browse Projects and Edit Issues permissions in the project of the issue in order to execute the post function.
Use cases
Count the number of escalations of the issue
Count the number of failed tests