Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.