Versions Compared

Key

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

This post function allows you to move a standard issue type to other projects, statuses or issue types.

UI Text Box
typenote

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

Configuration

UI Expand
titleProject

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.

This post function must the last post function of a transition.
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.


Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT 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