I have a set of sub-tasks for a work item that need to be assigned to a manager for on-boarding. I've setup a custom field "Manager" that is a people field. Is it possible to setup a automation that reads the custom field, then assigns the same person to a set of sub-tasks?
Example:
Manager : John Smith
(Rule would assign any sub-tasks that contains "Mgr - " to John Smith)
I've done auto-assign rules for individuals based on a "Flag" (The Mgr -) at the beginning of the summary for the sub-task but I can't seem to figure out if it's possible to assign based off what a field is populated with.
Here is what I've got so far:
I tried using a smart value of the custom field for the "Assign the work item to" and then "user" but that didn't seem to work.
Your smart value component is missing the actual smart value you want to set. Your automation should look something like this to assign the sub-task to the manager:
Your other option is to use {{issue.customfield_11756}} to set the assignee, that way you do not have to use the extra component to create the variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would using {[triggerIssue.customfield_***}} make a difference than using {{issue.customfield_***}}?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've tried both the Variable method and the just setting the assignee as the custom field value but I'm getting a "Issue was already unassigned" from the audit log.
This is what I had when testing it
I had {{issue.customfield_11756}} in these screenshots
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.