Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
UI Text Box
sizemedium
typeinfo

This

Panel

On this page

Table of Contents
exclude(On this page).*
stylecircle
typeflat
separatorpipe

Introduction

Image Removed

The move issues  post function allows you automatically to move a standard- issue type to a different project  to other projects, statuses or issue typetypes.

UI Text Box
typenote
The move issues

This post function must be the last post function of a transition.

Image AddedConfiguration

UI Expandinfo
titleRemark

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.

Image RemovedBasic configuration*

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

Mode*

Info
iconfalse

Select how many issues you want to create. You can select between two options:

  • Single issue
  • Multiple issues

Issue type*

Info
iconfalse

The issue type of issue(s) to be created. The following options are available:

  • Selected issue type
  • Parser expression (standard issue type)

    Expand
    titlemore info...

    ((info) expects an issue type ID or reference like %{issue.issueType.id} )

    Parser expression (sub-task issue type)

    Expand
    titlemore info...
    Project

    Select the project which the issue will be moved to by selecting one of the following options:

    OptionDescription
    Retain the projectThe project will not be updated. This option makes sense, if you want to move an issue to an issue to other projects, statuses or issue types.
    Selected projectSelect the target project from the list of available projects.
    Set project manually (parser expression)

    Specify the target project by an expression using the Advanced text mode

    UI Text Box
    typeinfo
    The expression must return a project key or project name.
    UI Expand
    titleIssue type

    Select the issue type which the issue will be moved to by selecting one of the following options:

    OptionDescription

    Retain the issue type

    The issue type will not be updated. 

    Selected issue type

    Select the target issue type from the list of available issue types.
    Set issue type manually (parser expression)

    Specify the target issue type by an expression using the Advanced text mode

    UI Text Box
    typeinfo
    The expression must return an issue type name.
    UI Expand
    titleStatus

    Select the status which the issue will be moved to by selecting one of the following options:

    OptionDescription

    Retain the status

    The status will not be updated. 

    Selected status

    Select the target status from the list of available statuses.
    Set status manually  (parser expression)

    Specify the target status by an expression using the Advanced text mode

    UI Text Box
    typeinfo
    The expression must return status name or field code reference like Issue status.
    UI Expand
    titleFields

    Optionally define fields and target values that should be updated as part of the move operation.

    Upon selecting a field that should be updated from the dropdown you will be presented with these options:

    OptionDescription
    AutomaticThis option is only available for the field Assignee.
    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.
    Copy field value from parent of new issueThis option is only available if you create a sub-task under a new parent. Only available if the issue to be created is a sub-task.
    Set field value manually (parser expression)

    Select the field to copy from using an expression. 

    Include Page
    DECADIS:_snip_generic_expression_editor
    DECADIS:_snip_generic_expression_editor

    Clear field valueClear the field value.

    Write protection

    Include Page
    DECADIS:_snip_write_protection
    DECADIS:_snip_write_protection

    UI Text Box
    typeinfo

    By default, all other field values will be retained.

    UI Expand
    iconfalse
    titleAdditional options

    You have the following two options:

    OptionDescription

    Block transition and show an error message when the move operation fails

    In case the move operation fails, e.g. because the specified issue type is not available in the target project, the entire transition will be aborted and an error message is shown to the user.
    Delayed execution

    Include Page
    DECADIS:_snip_delayed_execution
    DECADIS:_snip_delayed_execution

    UI Expand
    iconfalse
    titleConditional execution

    Include Page
    DECADIS:_snip_condExecution_Server
    DECADIS:_snip_condExecution_Server

    UI Expand
    iconfalse
    titleRun as

    Include Page
    DECADIS:_snip_runAs_Server_postFunction
    DECADIS:_snip_runAs_Server_postFunction

    UI Text Box
    typeinfo

    In case the configuration is incorrect, e.g. the issue type is not available in the target project or the target status is not available for the new issue type, the post function will be skipped

    After the execution of the post function you might need to refresh your browser in order to view the the issue fully updated to the new project and issue type.

    UI Text Box
    typenote

    Moving individual sub-tasks is currently not supported. Sub-tasks can only be moved in sync with their parent issue.

    When moving a parent issue, make sure that valid configurations (issue type and workflow statuses) for all sub-tasks issues exist in the target project.


    In case a sub-task is chosen, the respective parent has to selected and the following options are available:

  • Current issue
  • Parent issue
  • Selected issue
  • Parser expression ((info) the input has to be an issue key)

    The parent issue is only shown when a sub-task is selected as issue type.

    Project (only for standard-issue types)*

    The project that the issue will be created in will come with the following options:

    • Current project
    • Selected project
    • Parser expression ((info) the input has to be a project ID or a reference like %{issue.project.id})
    Note
    Please note that the project selection does not show up when the issue type is a sub-task.

    Fields*

    Info

    Summary*

    Enter a text to give a summary to your issue (like a title for the issue), and you can also use field codes.

    Description

    Enter a text to describe your issue.

    Additional fields

    Set additional field values, in the popup after clicking the Add button you can select to set the value in two ways:

    • Copy field from the current issue (the value from the selected field will be copied over to the new issue)
    • Set field value manually (expression parser)
    Info

    You have the option to link the issue that you are currently creating to an existing issue, and you have the following options:

    • is blocked by (Blocks) -inward
    • blocks (Blocks) -outward
    • is cloned by (Cloners) -inward
    • clones (Cloners) -outward
    • is duplicated by (Duplicate) -inward
    • duplicates (Duplicates) -outward
    • relates to (Relates) -inward
    • relates to (Relates) -inward

    Conditional execution

    Info

    Enter a condition (Boolean condition) using the JWT expression parser - full feature list syntax.

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

    Note

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

    Use cases and examples using this post function

    Image AddedUse 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 space = currentSpace() and parent = currentContent()
    If you still have questions, please refer to our support team.


    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 descriptionMove issues to other projects, statuses or types.
    Label

    Status
    colourRed
    titlestaff pick