Re: Workflow step transition issue

[email protected] Thu, 30 Jun 2011 14:43:18 CDT
Newsgroups gmane.comp.java.jira.user
Message-ID <20384283.544321309463028567.JavaMail.j2ee_forums.atlassian.com@atlassian12.managed.contegix.com>
If you install the [script runner|https://studio.plugins.atlassian.com/wiki/display/GRV/Script+Runner] plugin, you can use the built-in script called "Simple scripted condition" ([docs|https://studio.plugins.atlassian.com/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Simplescriptedcondition]).

As a starter for ten your condition would simply be:

{code}currentUser.getGroups().contains("JIRA-QA") && currentUser != issue.reporter{code}

Beware about conditions though, the [user is not notified|http://blogs.onresolve.com/?p=64]. It can be confusion if they can transition one issue and not another, just because they didn't report it. You need to make sure your workflows are well documented and people actually read the docs.

cheers, jamie
--
Post by JamieEchlin - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=55062
_______________________________________________
Jira-user mailing list
[email protected]
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user