Versions Compared

Key

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


Panel

On this page

Table of Contents
exclude(On this page).*
stylecircle
typeflat
separatorpipe
UI Text Box
sizemedium
typeinfo

The Update fields This post function automatically updates a single or multiple issue fields on a single or multiple target issueissues.

Additional field values can be taken over or manually dynamically set using parser expressions. 


UI Text Box
typenote

In this documentation and the post function configuration you will notice the symbol ( * ) next to some parameters, it means that this field is mandatory and shall not be left empty. Fields without the symbol are optional.

If used in the create transition, they need to be placed after the “Create issue initially” post function


Image AddedConfiguration

UI Expand
titleTarget issue

Select the issue(s) to be updated. The

Basic configuration*

Below you will find a detailed description of each parameter of the basic configuration of the function.

Target issue*

more info...
Info
iconfalse

Choose the issue to be updated and the following options are available:

title
OptionDescription
Current issueThe current issue will be updated.
Parent issueThe current issue's parent will be updated.
Sub-tasksThe current issue's sub-tasks will be updated. If you choose this option you can further filter your selection (e.g. by issue type or status). Only useful for standard issues
Sibling sub-tasksThe current issue's sibling sub-tasks will be updated. Only useful if the current issue is a sub-task
Linked issuesLinked issues will be updated. If you choose this option you can further filter your selection (e.g. by issue type or status). 
Linked epicThe related epic will be updated.
Issues under epicAll issues related to the same epic will be updated. If you choose this option you can further filter your selection (e.g. by issue type or status). 
Sibling issues under epicAll sibling issues related to the same epic will be updated. If you choose this option you can further filter your selection (e.g. by issue type or status). 
Set target issue manually (parser expression)
Expand

Define the issues that will be transitioned by defining an expression. The JQL mode and Issue list mode are available.

UI Text Box
typenote

The output has to be an issue key.

  • Sibling sub-tasks
  • Fields*

    The expression must return either a valid JQL expression or an issue list with issue keys.




    UI Expand
    titleFields
    Info
    iconfalse

    Set or clear values for specific fields.

    In the popup after choosing the field to be added, you can select to set the value in two ways:

    Copy field from current issue (the value from the selected field will be copied over to the new issue)

    The following options are available depending on the field type:

    OptionDescription
    Automatic

    This option is only available for the field Assignee.

    UI Text Box
    typeinfo

    When you select automatic assignment, a user is selected to be assigned based on:

    • The components selected in the issue.

    • The component leads and the assignment policy associated to each component.

    • The project lead (in case no component is selected)


    Selected valueSelect a specific value from the dropdown list.
    Copy field value from current issueCopy the value from a field in the current issue. Select the field you want to copy the value from.
    Set field value manually (parser expression)

    You also have the option of write protection,

    Do not overwrite existing values.

    Include Page
    DECADIS:_snip_generic_expression_editor
    DECADIS:_snip_generic_expression_editor

    Clear field valueChoose this option to clear the value of the target field. This option is not available for the Summary field.

    Write protection

    Include Page
    DECADIS:_snip_write_protection
    DECADIS:_snip_write_protection


    Send
    UI Expand
    iconfalse
    titleAdditional options

    You have the following two options:

    UI Text Box
    typeinfo
    OptionDescription
    Send email notification
    Expand
    titlemore info...

    If you check this option, Jira will send email notifications according to the associated notification scheme.

    Update issues immediately
    Expand
    titlemore info...
    UI Text Box
    typeinfo
    Each field update results in a dedicated "Issue Updated" event and issue history entry.

    Include Page
    DECADIS:_snip_update_immediately
    DECADIS:_snip_update_immediately



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

    UI Expand
    iconfalse
    titleConditional execution

    Include Page
    DECADIS:_snip_condExecution_Server
    DECADIS:_snip_condExecution_Server

    Enter a condition (Logical / boolean condition) using the JWT expression parser functions syntax.

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

    UI Text Box
    typeinfo


    UI Expand
    iconfalse
    titleRun as

    Include Page
    DECADIS:_snip_runAs_Server_postFunction
    DECADIS:_snip_runAs_Server_postFunction
    Choose which user* will be able to execute this post function. By default it is set to the Current user.



    Image ModifiedUse cases and examples

    Page properties report
    firstcolumnUse case
    headingsFunction, Use case description, ComplexityJWT feature, Workflow function, Parser functions, Label
    sortByTitle
    cqllabel = "use-case-workflow" and parent space = currentContentcurrentSpace() and space ancestor = currentSpacecurrentContent()


    Excerpt Include
    DECADIS:Contact support
    DECADIS:Contact support
    nopaneltrue


    Page properties
    hiddentrue


    Tech review

    Status
    colourGreen
    titledone

    Style guide

    Status
    colourGreen
    titledone

    Status
    titletodo
    Status
    colourYellow
    titleReady for review
    Status
    colourGreen
    titledone
    Status
    colourRed
    titleflagged


    Page properties
    hiddentrue


    Short descriptionUpdate one or multiple issue fields.
    Label

    Status
    colourRed
    titlestaff pick