Versions Compared

Key

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

...

...

...

...

Panel
bgColor#f5f5f5
titleColor#ffffff
borderWidth0
titleBGColor#000000
titleJSU for Jira Cloud
Info

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

...

On this page:

Table of Contents
minLevel2
maxLevel4

Description

The 'Update any Issue Field' post-function updates any field to a specified value , after a transition has been completed. This can be a system- or a custom field.

The field can be on the issue in transition(within the same issue) or on a related issue, like a sub-task, a linked issue, or an issue within an Epic (during the transition on the Epic).

In addition to setting values to fields, the 'Update any Issue Field' post-function can also add comments.

Configuration

You must specify the field and the desired value. For example: 

...

Precondition

Include Page
Precondition Usage
Precondition Usage

Update field on all issues related as

...

Include Page
Related Issues
Related Issues

Perform As User

Include Page
Perform As User
Perform As User

Issue

...

field

Select the field you want to update.

As a destination you also have special options:

  • *** new comment ***
    A new comment will be created with the entered value.

Field

...

value

Please make sure ensure that the value you enter is valid for the datatype the data type of the selected field. Also verify, that the context configuration for the project using this workflow will allow to modify modifying the selected field.

Typically you will use text or numbers as valuevalues. User fields should be set to the account ID.

Special

...

macros

The following string values will be resolved at execution runtime.

If you use
%%CURRENT_USER%%
as the field value (exactly this, nothing more), the user who triggered the post function will be set as a value.

If you use
%%CURRENT_DATETIME%%
as the field value (exactly this, nothing more), the current date and time will be set as the value.

Asynchronous

...

execution

Include Page
Asynchronous execution
Asynchronous execution

Example

See the above example of a Story changing the Epic Status of its Epic.

...

Another example:
A developer has fixed a Bug. He proceeds in the Jira workflow to the status 'Resolved' (this might be triggered from his code pushed to Bitbucket). The 'Update any Issue Field' now adds a the label 'testing-required'.
This would be a very light weight lightweight solution. There are also cases when you need a more complex solution. Have a look at Testing and Fixing Bugs.

For more information on how to configure a post-function in Jira, see the Jira documentation.

Supported

...

field types

Include Page
Supported Field Types
Supported Field Types