Versions Compared

Key

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

The move issues This post function allows you to automatically 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 ModifiedConfiguration

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 (
advanced text
parser expression)

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

UI Text Box
type
note
info
The expression must
return a
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
manually (
advanced text
parser expression)

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

UI Text Box
type
note
info
The expression must return
an
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
manually  (
advanced text
parser expression)

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

UI Text Box
type
note
info
The expression must
return a
return status name or
reference like %{issue.status}
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.

Define further fields to be updated.

In the opening popup you can select how the field should be set:

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

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.

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 move operation fails

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

UI Text Box
typetip
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
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
colourYellowGreen
titleReady for reviewdone

Style guide

Status
colourYellowGreen
titleReady for reviewdone

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