Hi a91b62b45152 ,
We are doing a spike on migrating com.googlecode.jsu.workflow.condition.UserIsInAnyRolesCondition and com.googlecode.jsu.workflow.condition.UserIsInAnyGroupsCondition workflow transition rules. With our changes for this spike, JCMA will be migrating the user in any project roles and user in any group conditions as follows,
Server Condition |
Cloud Condition |
Status |
com.googlecode.jsu.workflow.condition.UserIsInAnyRolesCondition |
com.atlassian.jira.workflow.condition.InAnyProjectRoleCondition |
Will be supported once this MIG is delivered |
com.googlecode.jsu.workflow.condition.UserIsInAnyGroupsCondition |
com.atlassian.jira.workflow.condition.UserInAnyGroupCondition |
Will be supported once this MIG is delivered |
com.atlassian.jira.workflow.condition.InProjectRoleCondition |
com.atlassian.jira.workflow.condition.InAnyProjectRoleCondition |
Supported since JCMA 1.5.1 |
com.atlassian.jira.workflow.condition.UserInGroupCondition |
com.atlassian.jira.workflow.condition.UserInAnyGroupCondition |
Supported since JCMA 1.5.1 |
We wish to share the results we got so far with you and confirm whether our results matches your expectation on this,
Server condition |
Migrated cloud condition |
<condition type="class">
<arg name="hidRolesList">Administrators@@Service Desk Customers@@Service Desk Team@@</arg>
<arg name="jsuWorkflowParamsVersion-textValue">2.32.0</arg>
<arg name="class.name">com.googlecode.jsu.workflow.condition.UserIsInAnyRolesCondition</arg>
<arg name="uuid">af5e0100-34e4-4184-9017-6da5786075cb</arg>
</condition> |
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.InAnyProjectRoleCondition</arg>
<arg name="projectRoleIds">10004@@10010@@10011@@</arg>
</condition>
Where the projectRoleIds 10004, 10010, 10011 are the references to the project roles migrated to the cloud. |
<condition type="class">
<arg name="jsuWorkflowParamsVersion-textValue">2.32.0</arg>
<arg name="class.name">com.googlecode.jsu.workflow.condition.UserIsInAnyGroupsCondition</arg>
<arg name="uuid">8fe7e531-ad55-470e-8fe3-50d6988ded8f</arg>
<arg name="hidGroupsList">jira-administrators@@jira-servicedesk-users@@jira-software-users@@</arg>
</condition> |
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.UserInAnyGroupCondition</arg>
<arg name="group">jira-administrators@@jira-servicedesk-users@@jira-software-users@@</arg>
</condition> |
<condition type="class">
<arg name="jira.projectrole.id">10002</arg>
<arg name="class.name">com.atlassian.jira.workflow.condition.InProjectRoleCondition</arg>
</condition> |
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.InAnyProjectRoleCondition</arg>
<arg name="projectRoleIds">10004</arg>
</condition> |
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.UserInGroupCondition</arg>
<arg name="group">jira-administrators</arg>
</condition> |
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.UserInAnyGroupCondition</arg>
<arg name="group">jira-administrators</arg>
</condition> |
Please refer to the following snapshots to know how com.googlecode.jsu.workflow.condition.UserIsInAnyRolesCondition and com.googlecode.jsu.workflow.condition.UserIsInAnyGroupsCondition conditions appeared on server UI and on cloud UI after migration.
Server UI
Cloud UI

Question 1 : Does the above results matches your expectations for this MIG ticket ?
Question 2 : Do you see any cases where a specific workflow transition on server side can have,
- both com.googlecode.jsu.workflow.condition.UserIsInAnyRolesCondition and com.atlassian.jira.workflow.condition.InProjectRoleCondition with same configurations
- both com.googlecode.jsu.workflow.condition.UserIsInAnyGroupsCondition and com.atlassian.jira.workflow.condition.UserInGroupCondition with same configurations
In case of such scenarios, the current solution we are spiking will treat them as separate conditions and migrate those conditions separately (no deduplications will be performed during the migration).
Thanks,
Hariharan.
Thank you Hariharan,
we will check and if we find any issue, we will report back.