Hello, I have a case where on a Script listener I want the action to check if the assignee is account id '999' if it is already 999 then take no action, if the assignee account id is not 999 then assignee the issue to 999. Here is an example of what I have so far, the first section is adding a label before it does this step so don't worry about that part. The only error I am getting is a red underline under the part in Bold.
//Add the label '123'
Hi George,
I can confirm with a Script Listener to access fields on an issue you need to call issue.fields.
This means your line in bold should change to be like
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi George,
I am glad that solved the issue :).
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.