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 move issues This 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
typewarningnote

This post function The move issues must be the last post function of a transition.

Image AddedConfiguration

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.

Basic configuration*

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

Project*

Expand
titleProject
Info
iconfalse

Select the project which the issue will be moved to and you have 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)
Expand
titlemore info...

(info) the input has to be a project ID or a reference like %{issue.project.id}

Issue type*

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
Info
iconfalse

Select the issue type which the issue will be moved to and you have 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
manually (parser expression)
Expand
titlemore info...

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

Status*

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
Info
iconfalse

Select the status which the issue will be moved to and you have 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
manually  (parser expression)
Expand
titlemore info...

(info) expects a status or reference like %{issue.status}

Fields*

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.
Enter plain text and optionally use field codes, e.g. %{issue.summary}, to insert field values.
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.
Info
iconfalse

Define further fields to be updated, 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 (parser expression
parser)
Expand
titlemore info...
)

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
type
tip
info

By default, all other

fields

field values will be retained.

Additional options

The execution of this post function will be delayed by the value specified in milliseconds

The maximum delay is 60,000 milliseconds (60 seconds)
UI Expand
iconfalse
titleAdditional options

You have the following two options:

OptionDescription

Block transition and show an error message when the

moving fails
  • Delayed execution
  • Expand
    titlemore info...
    UI Text Box
    typetip

    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

    Enter a condition (Logical / 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.

    UI Expand
    iconfalse
    titleConditional execution
    Note

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

    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 typeChoose which user* you want to give permission to execute this post function. By default it is set to the Current user.

    UI Text Box
    typewarningnote

    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 the  valid configurations configurations (issue type and workflow statuses) for  for all sub-tasks issues exist in the target project.


    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 space = currentSpace() and parent = currentContent()


    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