Hi!
I am trying to use JIRA Automation to create sub tasks in a parent issue, as a part of onboarding. This means the parent issue will be created by somebody, and a custom field - Manager - where the JIRA user responsible for the new employee will be selected.
So, I can create the sub task when the parent issue is transitioned, but I am struggling to set the Manager as an assignee for the sub task.
I am trying to add this as a JSON script under More options / Additional fieldsat the bottom of the Sub Task feature, but the rule fails to add assignee. I have tried with various variations of triggerissue, parentissue, .key, .accountId and so on.
{
"fields": {
"assignee": { "id": "{{triggerissue.customfield.10091.accountId}}" }
}
}
Any help is greatly appreciated. Thanks!