"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

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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

255 views 4 9
Read article

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