Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

A workflow post-function that increases the value of a selected numerical field by one.

When you add this post-function to a transition and trigger the transition on an issue, the add-on increments the selected field value by one.

Note

Note: This post function is applicable to numerical fields only!

To add the 'Increase value of field' post-function to a transition : 

  1. Click Edit for the workflow that has the transition to which you wish to add the post

-
  1. function

on
  1. .

  2. In the Workflow Designer, select the transition.

  3. Click

on 
  1. Post

Functions in
  1. Functions in the properties panel.

  2. Click

on 
  1. Add

 
  1. post function.

  2. Select Increase value of field

 from
  1. from the list of post

-functions
  1. function.

  2. Click

on 
  1. Add to

add the
  1. navigate to the Increase value of field post-function

on the transition.
Image RemovedSelect the field from the Field drop-down
  1. screen where you can add configuration details. See below for more information.

  2. Click

on
  1. on Add

to
  1.  to add the post

-
  1. function to the transition.

  • After adding, move the post-function to the appropriate position according to Placing post-functions in a transition document.

  • See here for a use case for this post-function

    Known limitations common to all post-functions:

    Filter by label (Content by label)
    showLabelsfalse
    max5
    spacesKB
    sorttitle
    showSpacefalse
    typepage
    labelskb-troubleshooting-article
    cqllabel = "common-issue" and type = "page" and space = "JMWEC"

    Related links

    When you add this post-function to a transition and trigger the transition on an issue, the add-on increments the selected field value by one. This is applicable to numerical fields only.

    Send notifications

    Jira
    1.  

    Options

    The primary option is the field that should be increased by one.

    • Field - Select the field to increase.

    Info

    Only one field can be selected for each instance of this post function.

    Advanced options

    Expand this section to see advanced configurations including conditional execution, delayed execution, and whether or not Jira will send a notification when the post function is executed.

    Conditional execution

    Include Page
    [Includes] Post-function - Conditional Execution
    [Includes] Post-function - Conditional Execution

    Delayed execution

    Include Page
    [Includes] Delayed Execution
    [Includes] Delayed Execution

    Send notifications

    Jira can sends notifications for the increment in the selected field value on the current issue.

     You can control the default value of the "Send notifications" option in the Configuration page under JMWE administration. Click here for more information.

    Conditional execution

    To execute this post-function based on the result of a Nunjucks template see Conditional execution.

    Delayed execution

    Include PageDelayed executionDelayed execution

    Use case

    A typical use case of this workflow is to increment a number field by one during a transition. Consider a use case where you want to track the number of times a bug fix was rejected by the QA team. To configure this:

    1. Create a Rejection counter numerical custom field.

    2. Add the Increase value of field post-function to the Reject transition of the Bug workflow.

    3. Select the Rejection counter field.

    See here for more use cases.

     Check the box Allow Jira to send notifications for this change to enable notifications.

    You are viewing the documentation for Jira Cloud.

    On This Page

    Table of Contents
    minLevel1
    maxLevel3
    outlinefalse
    styledefault
    typelist
    printabletrue

    Increase Value of Field post function configuration screenImage Added