"User Is In Any Groups" workflow condition issue

Ganga_Selvarajah July 10, 2012

Hi,

We’re facing a workflow issue after migrated from JIRA 4.2.1 to 5.0.6

The workflow condition to Transition “User Is In Any Groups” failed due to jira has internally changed class.

So any workflow will this kind of user condition check on steps will break on publishing new workflow. Only option for us to remove this condition from all steps that use and add it back to correct class. Thisi s tedious operation with production data.

Please let us know , how do we fix this issue without modifying the workflow step.

<conditions>

<condition type="class">

<arg name="class.name">com.atlassian.jira.workflow.condition.UserInGroupCondition</arg>

<arg name="group">jira-release-management</arg>

</condition>

</conditions>

<conditions>

<condition type="class">

<arg name="class.name">com.googlecode.jsu.workflow.condition.UserIsInAnyGroupsCondition</arg>

<arg name="hidGroupsList">jira-release-management@@</arg>

</condition>

</conditions>

Thanks

Ganga S

2 answers

1 accepted

0 votes
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2013

How big is your instance? If you can afford to do a backup, edit the XML and import it back, it should be okay. Try on a test instance first.

Ganga_Selvarajah January 31, 2013

Thanks Renjith,

We fix the issue by editing workflows.

0 votes
cgauterio
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2013

Hi Ganga,

I'm afraid the best way would be as you are doing right now, editing the workflow steps. JIRA stores workflows as XML's inside the database, so making changes directly on it can be tricky. To avoid further issues, please stick to editing workflow step by workflow step.

There is a KB article that describes the exact same behavior, on another condition that has changed on the latest versions of JIRA: User Is In group


Please see java.lang.NoClassDefFoundError Message Is Displayed On The Screen After Editing Issues for more details.

Cheers,

Clarissa.

Ganga_Selvarajah January 31, 2013

thanks Clarissa,

We fix the issue by editing workflows.

Suggest an answer

Log in or Sign up to answer