I need to update a custom field with Cloud Script Runner postfunction
issueInput.update.customfield_13300 = [[set: [value: 'test']]]
issueInput.update.customfield_13300 = 'test'
This both expressions don't work.
Thanks!
The simplest way to set a custom field is like this:
issueInput.fields.customfield_13300 = 'test'
Thanks, I tried issueInput.update.customfield_10107 = 'test', but I see now the difference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No problem - the documentation isn't very clear, but if you use the update property you have to specify an action like set:
issueInput.update.customfield_13330 = [[set: 'test']]
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.