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 Server/Data Center

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

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:


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

Precondition

Include Page
precondition usage
precondition usage

Clear field on all issues related as

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).

See Related Issues for more explanation on this topic.

Perform As User

Include Page
Perform As User
Perform As User

Position of the Post Function

It is important to place the post function in the correct order of other post functions.

Create Transition

(info) The 'Create' transition is the very first transition, which does not yet has a source status (only destination status - usually Open, but could also be another).

Instead of using the "Clear Field Value" post function in the Create transition, you might consider to just configure configuring no default value for that custom field and don't show it on the create screen.

If you are using the "Clear Field Value" post function in the Create transition, you must put it before the "Creates the issue originally" post function except when clearing labels, which need to be cleared after the issue has been created.

Any other Transition (not Create)

Put the "Clear Field Value" post function anywhere before the "Update change history for an issue and store the issue in the database." post function

Example

A workflow is configured so that the 'Close' transition has the 'Clear Field Value' post-function. The function is configured to clear the 'Security Level' field. If a user closes an issue on this workflow, the value of the 'Security Level' field will be cleared.

Supported Field Types

Include Page
Supported Field Types
Supported Field Types