Forums

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

How to automate to add email id to assignee for previously created issues

Sundari V
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 15, 2024

 

Hi Team,

Please help me with below scenario.

say about 200 tickets are created and different users are assigned to the ticket. Now management wants to add Assignee email field. So i have a custom attribute and added assignee email field. 

The issue is sine there are about 100 different users how to automatically add the respective assginee's email id to the "Assigneeemail" field?

 

2. How to automate this feature for the tickets being added in future thorough an automation rule?

 

Thank you, S 

2 answers

0 votes
John Funk
Community Champion
August 16, 2024

Hi Sundari - Welcome to the Atlassian Community!

First - why would they need to see that?

Next, yes, you can do that. Create an automation rule base on a Field Value Changed trigger and select Assignee.

Then add an action for Edit Issue. Select the new custom field you created. In the blank box, put in: {{issue.assignee.emailAddress}}

 

0 votes
Trudy Claspill
Community Champion
August 15, 2024

Hello @Sundari V 

Welcome to the Atlassian community.

Let us back up a step and ask what problem are you trying to solve by having a separate field for "assignee email"?

That information is already available as an attribute of the User specified in the Assignee field. Why do you need to have it in a separate field also?

An Automation Rule could be written to update your separate field every time the Assignee field value is changed. As I said, the email address is an attribute of the User information, so the rule can easily get that information and paste it into another field. But just because it can be done doesn't mean it should be done.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events