I'm creating a subtask in an automation rule, in additional fields I specify:
{"fields": {
"assignee": {"emailaddress": {{CustomEmailField.asJsonString}} },
"description": {{CustomEmailField.asJsonString}}
}}
The description shows address@domain.com but the subtask remains unassigned. I tried the following variations without success:
"assignee": {{CustomEmailField.asJsonString}}
"assignee": {"username": {{CustomEmailField.asJsonString}} }
"assignee": {"name": {{CustomEmailField.asJsonString}} }
"assignee": {"key": {{CustomEmailField.asJsonString}} }
How do I assign an issue to a user via their email address within a jira automation?
Hi @Bryan Meyerovich ,
I don’t think this is possible. I believe Assignee field expects to get accountId of the user, e-mail is not enough. How does your process look like? Is it possible to use User picker custom field instead of Text field with the e-mail? Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So how do I convert from email to userid from within an automation?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try to send request to REST API and find the user. Please look at this article, it is very similar to your problem.
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.