Hello,
Is it true that the workflow post function "fast track transition" only can be executed by users who either have jira administrator rights or project administrator rights? Is there anyway to change this? I'm using Jira software v7.1.10 and I'm not an experienced scriptrunner programmer. Thanks!
Hi @Sandra Meessen,
In the bottom of the configuration fast-track transition you have this options:
Whit this options you can Skip what you want.
But you need to be JIRA Administrator to configure a Fast-Track transition.
Cheers,
Adrián.
Hello Adrián, thank you for your quick response. Yes, I am Jira administrator and I can configure and setup the fast-track transition, but the problem we are facing is in handling the issues who use the fast-track transition. It is only executed in case the current user has either jira administrator rights or project administrator rights. For them the fast-track transition works, for all other users it doesn't. And I am absolutely sure we didn't put any criteria in the workflow that says it may only be done by administrators.
Is this regular functionality in Jira or are we missing something?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sandra Meessen,
If you are JIRA Administrator, then you can put in the condition field when you are configuring a Fast-Track transition something like this:
import com.atlassian.jira.component.ComponentAccessor
def groupManager = ComponentAccessor.getGroupManager()
def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
if (groupManager.isUserInGroup(currentUser, "jira-administrators") && isUserMemberOfRole('Administrators')) {
return true
}
return false
Can you try this?
Cheers,
Adrián.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Adrián, Thank you! That did the trick! Thanks for the help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Adrián, I'm still facing a problem with the fast track and specific with these transition options:
In our Jira test environment I have checked all three boxes and they keep checked! And everything I want works like a charm! Happy with that?
In our Jira production environment I have checked all three boxes, but when I open the transition again, the checks are gone! And the disappeance of these 3 checks are causing me the problem that in test everything works like I want and in production it doesn't. Is that a known Jira bug? What can be the difference between test and production that my checks disappear? I have jira admin rights on both environments. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Adrián, I'm sorry for my question (lack of experience), but which plugins are we talking about?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Adrián, That's an interesting point at the moment. We have Scriptrunner upgraded to 5.1.6 in our testenvironment and we still have version 4.3.13 in our production environment. I'm doing the upgrade there this evening. So, maybe I can tell more tomorrow. Thanks for the tip and give you follow up after our upgrade this evening.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have similar question where i want to use the Fast Track transition.
1. We have this following workflow statuses.
Funnel > Approval > Groom > Done. There is one other status which is Denied.
2. In the Approval Step above, we have transition screen which holds a custom field with 'Agree' or 'Disagree' as dropdown values.
3. If user select Agree, then the transition needs to be like Funnel > Approval > Groom > Done otherwise it should be Funnel > Approval > Denied as the end of the flow.
Now in the scriptRunner, i have created the fast-track transition by mentioning condition as below and action as 'Denied'.
cfValues['AppSatus']?.value == 'Disagree'
But i don't see anything happens when i'm into the Transition screen after a new issues is created in the Approval step. Even after selecting 'Disagress' as custom field value, the issues is moved to the next status like Groom but not Denied.
Any idea what i'm missing here? Kindly suggest.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.