The workflow won't load – errors on a create issue post function to append value from one custom field to another when the source custom field is NULL. How can I use a Groovy expression in Copy Value From Field to Field Function (new in 2.3) to prevent this error?
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Groovy (or Java), the two are equivalent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can add a condition such as:
issue.get("customfield_12345") != null
where 12345 is the numerical ID of the source field. See https://innovalog.atlassian.net/wiki/display/KB/Using+issue.get%28%3Cfield_name%3E%29+in+scripts for details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.