It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
I have installed Script Runner and I would like to fire an event if the following condition is true,
custom field value is equal to: The field is blank but how how do I specify this in the condition i.e.
cfValues['Region'] == 'EMPTY'
cfValues['Region'] == 'NULL'
cfValues['Region'] == '0'
None seem to work, I must have this working for when the region field is blank
Thanks
Hi, I have the same requirement. So, I used 'Fires an event when condition is true' built-in script in my post function when issue gets created.
I'm using the condition '['Sev1', 'Sev2'].contains(cfValues['CS Priority']?.getValue())' where CS Priority = our custom priority field, which returns true if either Sev1 or Sev2 issue is logged.
However, in my jira logs (debug turned ON), I noticed
/secure/QuickCreateIssue.jspa [groovy.canned.utils.ConditionUtils] Condition: issue.priority?.name == 'Major' returned: false
Why isn't the Script Runner using my condition ? Any help will be great. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Logged my problem as a seperate question here :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How would you write a condition for priority to be for instance a 'P1'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It started as any story starts, on a normal, rainy day. Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.