Hi! I have jira 6.0.8.
How do I prohibit issue creation or change if customfield_1 has value "In development" and customfield_2 has value "None"? Any other combination of values is allowed - the issue can be created or changed.
Is it going to be a listener?
I'd appreciate any help. Thanks!
A listener is too late - any changes will have been committed already.
You can do it in validators in the workflow, but there's nothing to stop someone performing edits that you cannot validate like this. The best you can do is block edits completely with the "do not allow edit" property on the workflow steps you need to stop them at, and moving your edit down into the workflow.
using script runner validator you can achive this
simple script validation you can do as follows
cfValues['customfield name1']?.value == 'In development' && cfValues['customfield name12']
check here more about script runner plugin
check this it will help you
So, all I have to do is I have to put this:
in "Simple scripted validator" (Runs a simple embedded script to find out whether to allow the transition or not) of my transition?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG