trying to set assignee based on custom field via script runner

tom webb September 7, 2015

using built in scripts : setting custom field value to another field against the filter i have set however i cannot figure out the correct id for 'assignee' i have tried just assignee however im not sure if i need to set it to something like system_assignee etc.. does anyone know?

not wanting to do it on post function just wanting to run a clean up script.

2 answers

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 8, 2015

issue.assigneeId = "someone"

but you need to give more context, I don't know if you're using IssueService or what all.

0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 8, 2015

Try:

  • issue.assignee
  • issue.assignee?.displayName

Suggest an answer

Log in or Sign up to answer