What's the best way to access the FixVersion field from a Scriptrunner Behaviours server-side script?
We have the below use-case.
IF a custom field called Critical Issue is set to "Approved," THEN:
1) get the fixVersion(s)
2) append fixVersion(s) as labels. example: "Exclude_from_FixVersionA", "Exclude_from_FixVersionB"
3) clear fixVersion field
Hi Matt,
You could use this to clear the Fix Version field values:
def fixVer = getFieldById("fixVersions")
fixVer.setFormValue([null])
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.