Workflow transition execution for people NOT in a group.

Tarun Sapra Community Champion May 14, 2013

Hello,

In workflow conditions we have the ability to restrict the execution of a transition by users in a specific group, I want the exact opposite of this, i.e. people who are part of suppose GROUP A should not be able to execute the transition.

Please share your opinion.

4 answers

1 accepted

This widget could not be displayed.

Hi Tarun,

This plugin does exactly what you are looking for. Use version 1.0.1 of the plugin.

Refer the documentation here

https://bitbucket.org/bhushan154/not-reporter-workflow-plugin/wiki/Home

If you have any issues raise them at

https://bitbucket.org/bhushan154/not-reporter-workflow-plugin/issues?status=new&status=open

You can download the plugin here

https://bitbucket.org/bhushan154/not-reporter-workflow-plugin/downloads

Tarun Sapra Community Champion May 15, 2013

Hi Bhushan,

It seems very useful, can you tell whether is compatible with JIRA 4.4.4 or not?

Cheers,

It should be. You can try it out and let me know if you face any issues.

This widget could not be displayed.

Hi,

This widget could not be displayed.

Hi,

Add an other group B or create role contain users who are ableto execute transition.

This widget could not be displayed.

Short answer: ScriptRunner, JJupin.

In JJupin condition for this is simply written as:

return !(userInGroup("GroupA", currentUser()));

For complex operations, you have the possibility to create reunions of sets and intersections of sets:

http://confluence.kepler-rominfo.com/display/SIL/arrayUnion

http://confluence.kepler-rominfo.com/display/SIL/arrayIntersect

Tarun Sapra Community Champion May 14, 2013

how to do it with ScriptRUnner?

Search answers etc for UserUtil. It's something like:

import com.atlassian.jira.component.ComponentAccessor
! ComponentAccessor.getUserUtil().getGroupNamesForUser(currentUser.name).contains("Group A")

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

528 views 23 15
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