my jira version is jira 4.4.1.
for example,i add two behaviours on the same filed "resolution":sw,st
1 i add "When Resolve Issue" condition on sw,and add script to 'sw'
log.debut("\nsw not read only\n")
2 and add "When Close Issue,Reopen Issue" condition on st,and add script to 'st'
FormField resolutionField=getFieldById("resolution") resolutionField.setReadOnly(true) log.debug("\nst read only---\n")
then no matter i resolve,close or reopen an issue,the field "resolution" is always displayed "read only"
when i delete the 'sw' script.the behaviour is normal.resolving an issue ,"resolution" will not display read only.closing or reopening an issue will make "resolution" read only
it's so strange! as if "sw" and "st" script are all executed one by one in order.later behaviour will overwrite former behaviour. because "st" is later than "sw" in order,so "sw" might present the final result.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs