The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign an issue to a Jira user based on an email address from an external system

Yong Yang
Community Champion
May 27, 2024

Hi,

I need to integrate Jira Cloud with an external system and then assign an issue to a user based on an email address. Steps are:

1.Use Jira automation to call a webhook to read a user's email address from an external system.

2.Assign the issue to Jira user with this address.

I don't know how to implement the step 2. May I know if anyone has any experience? 

Thanks,

YY哥

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Rebekka Heilmann _viadee_
Community Champion
May 27, 2024

Hi @Yong Yang 

Assuming the email is identical to the one in Atlassian you can call the API to get the UserID by email. Once you got the ID you have the Account and can use that to assign it.

The Jira Cloud platform REST API (atlassian.com)

Yong Yang
Community Champion
May 27, 2024

Hi Rebekka,

That's what I'm looking for. Thanks for your help @Rebekka Heilmann _viadee_ 

1 vote
Darryl Lee
Community Champion
May 28, 2024

There's a great tutorial on how to use the API to lookup an account ID from an email address here:

Populate a user picker field from the description field

 

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events