"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

0 vote
Renjith Pillai Community Champion Jan 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.

Thanks Renjith,

We fix the issue by editing workflows.

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,313 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot