Hi, I need to make a condition in Jira workflow so that a transition is allowed only if a jira ticket is in a particular project, the project key would be ES
I am trying to do this with groovy but cannot get it going.
Any help would be graetly apreciated.
Here's the code:
issue.getProjectObject().getKey() == 'ES'
Its not working for me. I am trying to in POST function to Set Field Value to constant value with Conditional execution. code is : if(issue.get("projectKey")=="BO") return true; } else { return false; } Please help to solve this problem.
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.
Hi Boris, thank you so much, it works great. Lucky to have people like you around
David M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, thanks, I tried that and got te error below
Errors
|
Script workflow function : The action will be allowed if the issue matches the JQL query: "issue.getProjectObject().getKey() == 'ES'"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems you're using the wrong condition. You should use simple scripted condition.
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.