Hello,
I used to be able to manually edit a workflow xml and add (jira 4) :
<restrict-to>
<conditions>
<condition type="class">
<arg name="class.name">com.opensymphony.workflow.util.OSUserGroupCondition</arg>
<arg name="group">IT-Helpdesk</arg>
</condition>
</conditions>
</restrict-to>
Now this line doesn't work anymore in Jira 5.
By what can I replace it ? (I tried script runner but there's no function that seem to work for group) example : currentUser.inGroup("groupname")
Thanks!
Martin