"User Is In Any Groups" workflow condition issue

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

Accepted Answer
0 votes

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.

Thanks Renjith,

We fix the issue by editing workflows.

0 votes

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.

thanks Clarissa,

We fix the issue by editing workflows.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

34 views 0 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you