Hi
I'm trying to create a automation rule that will assign the ticket to a user using the smart value field I have created called Development Team.
The smart value is a People field and I have created the below rule. I've used Assign the issue to Smart value and the enter {{Development Team}} which what I have called my field.
I'm also having the same issue when trying to use smart values from a dropdown field, the rule doesn't work and I'm not sure why.
Any help would be appreciated as I've not done automation with smart values before.
Thanks
it is available when you choose "Edit issue fields" as an action and there expand the "More options" dropdown.
In "Additional fields" you need to clear the example values and then insert the code Ravi suggested.
You can see above how it should look like.
Regards,
Daniel
You have to use advanced edit to get the account id of the user from the people field.
Try this to set the assignee.
{
"fields": {
"assignee": "{{issue.People field. accountId}}"
}
}
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply.
Where would I find advanced editing? I've tried looking at all the different kinds of components within the New Action section of my automation rule but can't find it.
I'm using a Jira Cloud if that helps.
Thank you in advanced
Jodie.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the proposed code did not work for me. The following did, though:
{
"fields": {
"assignee": { "id": "{{issue.People field.accountId}}" }
}
}
This seems to be a recent change due to GDPR. See here and search for "assignee".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.