...
...
...
...
...
...
...
...
...
...
...
...
...
...
Info |
---|
If you are looking for documentation on Server to Cloud migration, see our latest Server to Cloud migration documentation. |
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
How to fix the workflows
You can do one of the following to fix your migrated workflows:
Reconfigure the affected workflow modules with the ones from JSU, then remove the broken ones.
This is
...
the safest way to do it
...
but can be tedious.
Export XML workflows, modify, and import again.
Modify the workflows directly in the database - if you have the required knowledge.
It's efficient but with more risk.
Workflow
...
conditions/post functions(JSU)
...
Workflow Name | JSU Cloud Module-Key | JSU Server Module-Key |
---|---|---|
Conditions | ||
User Is In Any Users (JSU) | com.atlassian.plugins.atlassian-connect-plugin:com.googlecode. jira-suite-utilities__userisinanyusers-condition | com.googlecode.jsu.workflow.condition.userisinanyusers-condition |
Post |
...
Functions | ||
Clear Field Value (JSU) | com.atlassian.plugins.atlassian-connect-plugincom.googlecode.jira-suite-utilities__clearFieldValue-function | com.googlecode.jira-suite-utilitiesclearFieldValue-function |
Copy Value From Other Field (JSU) | com.atlassian.plugins.atlassian-connect-plugincom.googlecode.jira-suite-utilities__copyValueFromOtherField-function | com.googlecode.jira-suite-utilitiescopyValueFromOtherField-function |
Copy or Move Attachments (JSU) | com.atlassian.plugins.atlassian-connect-plugincom.googlecode.jira-suite-utilities__copymoveattachments-function | com.googlecode.jira-suite-utilitiescopymoveattachments-function |
Create a Linked Issue (JSU) | com.atlassian.plugins.atlassian-connect-plugincom.googlecode.jira-suite-utilities__createlinkedissue-function | com.googlecode.jira-suite-utilitiescreatelinkedissue-function |
Follow Up Transition (JSU) | com.atlassian.plugins.atlassian-connect-plugincom.googlecode.jira-suite-utilities__followuptransition-function | com.googlecode.jira-suite-utilitiesfollowuptransition-function |
Linked Transition (JSU) | com.atlassian.plugins.atlassian-connect-plugincom.googlecode.jira-suite-utilities__linkedtransition-function | com.googlecode.jira-suite-utilitieslinkedtransition-function |
Update any Issue Field (JSU) | com.atlassian.plugins.atlassian-connect-plugincom.googlecode.jira-suite-utilities__updateanyissuefield-function | com.googlecode.jira-suite-utilitiesupdateIssueCustomField-function |
Mapping between JSU Cloud
...
and JSU Server
The following
...
table contains all the attributes which need to be mapped between the JSU Cloud and JSU Server
...
workflow functionality.
Post
...
function mapping: Clear Field Value (JSU)
Arg Name: JSU Cloud | Arg Name: JSU Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Post
...
function mapping: Copy Value From Other Field (JSU)
Arg Name: JSU Cloud | Arg Name: JSU Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Post
...
function mapping: Create a Linked Issue (JSU)
Arg Name: JSU Cloud | Arg Name: JSU Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Post
...
function mapping: Linked Transition (JSU)
Arg Name: JSU Cloud | Arg Name: JSU Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Post
...
function mapping: Update
...
Any Issue Field (JSU)
Arg Name: JSU Cloud | Arg Name: JSU Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Workflow
...
preconditions(JSU)
Preconditions in JSU Cloud are built-in as a part of the post
...
function. You can add as many preconditions as you want inside a post
...
function.
...
In JSU Server, preconditions are implemented as a separate post
...
function
...
that acts as preconditions. All the preconditions from JSU Cloud are available in JSU Server as well, but
...
require a different configuration.
Preconditions in JSU Server/Cloud |
Date Compare (JSU) |
Date Expression Compare (JSU) |
Date Window (JSU) |
Fields Required (JSU) |
JQL (JSU) |
Linked Status (JSU) |
Regular Expression Check (JSU) |
User Is In Any Groups (JSU) |
User Is In Any Roles (JSU) |
User Is In Custom Field (JSU) |
Value Field (JSU) |
Precondition
...
mapping: Value Field (JSU)
Arg Name: JSU Cloud | Arg Name: JSU Server | ||||
---|---|---|---|---|---|
Example
| Example
|
All other preconditions follow
...
a similar pattern as above
...
.
Info |
---|
As preconditions in JSU Cloud are built-in, you have to reconfigure all the preconditions manually in JSU Server. |
Workflow
...
conditions/
...
validators/post functions(Jira)
The following
...
list of
...
workflow conditions/
...
validators/post functions built into the Jira Cloud
...
environment can be
...
replaced with JSU extensions. See below, all the attribute mappings between Jira Cloud and Jira Server.
Workflow Name | Jira Cloud Class-Name | JSU Class-Name (Jira Server) |
---|---|---|
Conditions | ||
User Is In Any Group | com.atlassian.jira.workflow.condition.UserInAnyGroupCondition | com.googlecode.jsu.workflow.condition.UserIsInAnyGroupsCondition |
User Is In Any Project Role | com.atlassian.jira.workflow.condition.InAnyProjectRoleCondition | com.googlecode.jsu.workflow.condition.UserIsInAnyRolesCondition |
User Is In Custom Field | com.atlassian.jira.workflow.condition.UserIsInCustomFieldCondition | com.googlecode.jsu.workflow.condition.UserIsInCustomFieldCondition |
Value Field | com.atlassian.jira.workflow.condition.ValueFieldCondition | com.googlecode.jsu.workflow.condition.ValueFieldCondition |
Validators | ||
Date Compare Validator | com.atlassian.jira.workflow.validator.DateFieldValidator | com.googlecode.jsu.workflow.validator.DateCompareValidator & com.googlecode.jsu.workflow.validator.DateExpressionCompareValidator |
Date Window Validator | com.atlassian.jira.workflow.validator.WindowsDateValidator | com.googlecode.jsu.workflow.validator.WindowsDateValidator |
Field Required Validator | com.atlassian.jira.workflow.validator.FieldRequiredValidator | com.googlecode.jsu.workflow.validator.FieldsRequiredValidator |
Regular Expression Check | com.atlassian.jira.workflow.validator.RegexpFieldValidator | com.googlecode.jsu.workflow.validator.RegexpFieldValidator |
Post |
...
Functions | ||
Clear Field Value | com.atlassian.jira.workflow.function.issue.ClearFieldValuePostFunction | com.googlecode.jsu.workflow.function.ClearFieldValuePostFunction |
Copy Value From Other Field | com.atlassian.jira.workflow.function.issue.CopyValueFromOtherFieldPostFunction | com.googlecode.jsu.workflow.function.CopyValueFromOtherFieldPostFunction |
Update Issue Custom Field | com.atlassian.jira.workflow.function.issue.UpdateIssueCustomFieldPostFunction | com.googlecode.jsu.workflow.function.UpdateIssueCustomFieldPostFunction |
Mapping between Jira Cloud
...
modules and JSU Server
The following
...
describes all the attributes which need to be mapped between the Jira Cloud and Jira Server
...
workflow functionality.
Condition
...
mapping: User Is In Any Group
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
group | hidGroupsList (each group is separated by @@ and requires a @@ at the end) | ||||
Example
| Example
|
Condition
...
mapping: User Is In Any Project Role
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
projectRoleIds | hidRolesList (each group is separated by @@ and requires a @@ at the end and groups required to be mapped between id to group name) | ||||
Example
| Example
|
Condition
...
mapping: User Is In Custom Field
All argument names are the same between Jira Cloud and Jira Server.
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Condition
...
mapping: Value Field
All argument names are the same between Jira Cloud and Jira Server.
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Validator
...
mapping: Date Compare
...
validator
The Jira Cloud 'Date Compare Validator' combines
...
two JSU Date Compare Validators
...
:
Date Compare Validator (compareTypeField = true)
Date Expression Compare Validator (compareTypeField = false)
...
Which of the
...
two validators to use is defined by the Jira Cloud argument name 'compareTypeField'
Date Compare
...
validator
All argument names are the same between Jira Cloud and Jira Server.
...
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Date Expression Compare
...
validator
Arg Name: Jira Cloud | Arg Name: Jira Server |
---|---|
compareTypeField (must be false to map to the 'Date Expression Compare Validator') | not required for Jira Server |
...
conditionSelected | conditionSelected | ||||
includeTimeSelected | includeTimeSelected | ||||
date1Selected | date1Selected | ||||
expression | expressionSelected | ||||
Example
| Example
|
Validator
...
mapping: Date Window
...
validator
All argument names are the same between Jira Cloud and Jira Server.
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Validator
...
mapping: Field Required
...
validator
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
hidFieldsList | hidFieldsList | ||||
contextHandling | contextHandling | ||||
errorMessage | customErrorMessage-textValue | ||||
Example
| Example
|
Validator
...
mapping: Regular Expression Check
All argument names are the same between Jira Cloud and Jira Server.
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Post
...
Function
...
mapping: Clear Field Value
All argument names are the same between Jira Cloud and Jira Server.
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Post
...
Function
...
mapping: Copy Value From Other Field
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
Example
| Example
|
Post
...
Function
...
mapping: Update Issue Custom Field
All argument names are the same between Jira Cloud and Jira Server.
Arg Name: Jira Cloud | Arg Name: Jira Server | ||||
---|---|---|---|---|---|
Example
| Example
|