Hello,
I'm a dummy for grovy programing just starting but can someone help me
I would like to update issue's description filed using Scriptrunner, i know that description is not a custome filed.
def desc = customFieldManager.getCustomFieldObjects(issue).find {it.name == 'description'}
issue.setCustomFieldValue(desc, 'my value')
Try issue.setDescription() - see https://docs.atlassian.com/software/jira/docs/api/7.13.0/com/atlassian/jira/issue/MutableIssue.html for more
Worked like a charm :D
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Olga Videc
Since description is not a custom field thus you don't need to use customFieldManager.
Here's the detailed documentation with code samples as to how you should update the Jira issue fields.
https://developer.atlassian.com/server/jira/platform/performing-issue-operations/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same as Nic send, thanks a lot.
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.