Effective in April 2020 JWT for Jira Cloud has become a commercial app. Read the full details here.

On this page

Introduction

The Update fields post function automatically updates a single or multiple issue fields on one or multiple target issues.

Additional field values can be inherited or manually set using parser expressions



The configuration

The table below lists all available parameters that have to (*) or optionally can be set in this post function.


Parameter

Description

Target issue*

The issues to be updated. If a list of issue keys is passed, the update will be performed for every issue in the list.
The following options are available:

  • Current issue

  • Parent issue

  • Parser expression ((info) the output has to be an issue key or a list of issue keys)

Fields*


Set or clear values for specific fields.

In the popup after clicking the Add button you can select to set the value in three - or when dealing with selectable fields - four ways:

  • Copy field from current issue

     more info..

    The value from the selected field will be copied over to the new issue.

    When copying a null/none value to a custom field which has defined default values, the default values will be set.
    No check will be done when trying to copy a null value to a field which cannot be set to null (e.g. Resolution).

    For certain fields you need to copy over the field value ID instead of the actual text value. If you use the field dropdown, the respective field code will be pre-populated and has a format of "Field name ID"


In case of a custom field or Jira Software field  a fourth option is available:

  • Selected value

For every selectable custom field type you can select one of the predefined options for this custom field that are available in the global context.

Simply use the UI elements you are used to when creating or editing an issue. A checkbox value, for example, can be set like this:

Run as*

 Select the user that will be used to execute this post function. The user can be selected among from these options:

  • Current user

  • Selected user

  • Assignee

  • Reporter

  • Creator

  • Project lead

  • Parent's assignee

  • Parent's reporter

  • Parent's creator

Conditional execution

Enter a condition (a logical expression) using the expression parser syntax. 

You can even logically link and nest conditions in expressions as you like in order to map more complex conditions. 

(warning) The post function will only be executed if the condition is met (returns true.).

Get started

Get started by trying out the example configurations provided out of the box.



The following example configurations are currently available:


Additional use cases can be found here!



Use cases and examples using this post function