I would like to trigger creating a new issue assigned to a specific user based on a previous issue.
Here is an example:
When: Value changes for
QA User(s): Jon Doe
Then: Create a new Task
Issue Type Created: Task
**Assignee: Jon Doe
**There is no option to assign the assignee based on the original task I have tried using smart values with the following input but still not working correctly:
Any and all help is great appreciated!
Rather than using advanced edit with JSON, you may select the Assignee field from the dropdown list in the Create Issue action, and then type in the smart value for the field.
For your source field, is it a single-select user field? If so, you may enter this:
{{triggerIssue.customfield_13352.value.accountId}}
For a single-select field, the value attribute is the selected item. And in your case, you want the accountId of the selected user to make the assignment.
When you type that smart value expression into the field, it will appear below the field. Select it, and then it will be used for the issue create.
Kind regards,
Bill
Thanks a lot for your response. The only issue I am running into is there QA user could be multiple different people. For example, I want the QA user to be Jon Doe but on another task, I may want it to be Sally Jones. It would be an OR condition. 1 assigned QA user, based on the initial issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First thing, please try to stay with one thread when responding. That will help others reading this question in the future know if there are multiple solution approaches. Thanks!
You describe the QA User(s) field is multiple-select, but there can only be one Assignee user for an issue. How do you know to whom the new issue should be assigned?
The approach I described assumes only one user is selected in QA User(s) with the trigger. When there are multiple users selected, that field cannot be used as a source for assignment.
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.