Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,641,068
Community Members
 
Community Events
196
Community Groups

Set assignee by email address within automation action

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?

2 answers

0 votes
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 11, 2022

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.

So how do I convert from email to userid from within an automation?

Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 14, 2022

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events