Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column

The JIRA Suite Utilities plugin provides three additional workflow post-functions:

  • Copy Value From Other Field
  • Update Issue Custom Field
  • Clear Field Value

For information on workflow post-functions in JIRA, see the JIRA documentation.

Column
width400px
Panel

On this page:

Table of Contents
maxLevel2
minLevel2

Copy Value From Other Field Post-Function

Description

The 'Copy Value From Other Field' post-function copies the value of one field to another field, after a transition has been completed.

Configuration

You must specify the field to copy from, and the field to copy to. For example:
Image Removed
For information on how to configure a post-function in JIRA, see the JIRA documentation.

Example

A workflow is configured so that the 'Resolve' transition has the 'Copy Value From Other Field' post-function. The function is configured to copy the value of the 'Time Spent' field to the 'Free Text' field. If a user resolves an issue on this workflow, the value of the 'Time Spent' field will be copied to the 'Free Text' field after the issue is resolved.

Update Issue Custom Field Post-Function

...

Description

...

The 'Update Issue Custom Field' post-function updates a custom field to a specified value, after a transition has been completed.

...

Configuration

...

If you use
%%ADD_CURRENT_USER%%
as the custom field value (exactly this, nothing more), the user who triggered the post function will be appended to the existing field content.

Additionally for Cascading Select fields, you may either use the value of the option you would like to set, or it's id. In either case, no need to specify the parent option. For example:

  • Vehicles
    • Car
    • Train
    • Bus
  • Buildings
    • House
    • Skyscraper

Using Vehicles as the parameter for Custom Field Value would set the custom field content to that very option. Same if you would choose Train. Or, assuming 10701 is the ID of House, then the option House will be set.

...

Example

...

A workflow is configured so that the 'Start Progress' transition has the 'Update Issue Custom Field' post-function. The function is configured to set the 'Location Select' field to 'Sydney,Australia'. If a user starts progress on an issue on this workflow, the value of the 'Location Select' field will be set to 'Sydney,Australia'.

Clear Field Value Post-Function

...

Description

...

The 'Clear Field Value' post-function clears the value of a specified field, after a transition has been completed.

...

Configuration

...

You must specify the field to be cleared. For example:
Image Removed
For information on how to configure a post-function in JIRA, see the JIRA documentation.

...

Example

...

Panel
bgColor#f5f5f5
titleColor#ffffff
borderWidth0
titleBGColor#000000
titleJSU for Jira Server/Data Center

This is the JSU for Jira Server/Data Center documentation. If you are using JSU on Jira Cloud, see our JSU Cloud documentation.

Post functions modify data in Jira after a transition is performed. When editing a workflow, you can define which transition triggers the automation. Transitions have essential post functions that are part of Jira. Add-ons like JSU provide additional post functions to help you extend Jira and create powerful automations.


To add a post function to your workflow rule:

  1. Create a draft version of your workflow. 

  2. Select your transition, then select the Post Functions tab. Existing post functions for the transition are listed.

  3. Select Add Post Function to display a list of available post functions.

  4. Select the required post function, then select Add at the bottom of the page.

JSU provides the following post functions:

Child pages (Children Display)

See JSU General Configuration for guidance on the settings and parameters that are common to most JSU post functions. To learn more about workflow post functions in Jira, see Atlassian’s Advanced Workflow Configuration documentation.