Forums

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

How can JIRA automation send the task key to the email of the user who entered the task via email?

Lukáš Polidar May 30, 2023

Hello,
We are trying to solve a problem where we would like JIRA to be able to send a task key to the user who created the task.
The submitter is not a JIRA user and so the usual notifications are not sent to him. An example of how the solution should work is as follows:

Michael sent an email to JIRA automation with a problem he wants to solve. (Michal is not a JIRA user, he does not have an account here).
The automation action created a task in JIRA.
Automation action sent the key of the newly created task to Michal. (Preferably as a reply to his assignment email)

Is this possible?

2 answers

0 votes
Jens Schumacher - Released_so
Community Champion
May 31, 2023

Hi @Lukáš Polidar

I don't think what you are looking for is possible with Jira automation. I believe you can only send emails to users in the system, likely to prevent spamming and abuse.

You can find a somewhat related feature request here: https://jira.atlassian.com/browse/JSDSERVER-4309

Cheers,
Jens

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 31, 2023

Hi @Jens Schumacher - Released_so 

Actually, automation rules can send email to any email address; just enter it in the field and it works.  The issue user fields just make it easier to reference known users.

I believe the challenge for this question's use case is identifying the requestor's email address when they emailed a Jira email handler with a generic Jira address for the site.  A possible solution appears to be parsing that email address from the message, storing it in a custom field in the issue, and then using it later.

Kind regards,
Bill

Like # people like this
0 votes
John Funk
Community Champion
May 31, 2023

Hi Lukáš - Welcome to the Atlassian Community!

When the issue gets created, who does it show as the Reporter? 

Lukáš Polidar May 31, 2023

Automation for Jira

John Funk
Community Champion
May 31, 2023

Hmmm, that would tell me that the issue was not created directly from an email but through another process. Can you elaborate on the exact process? 

Lukáš Polidar May 31, 2023

Sure. 

Because Michal is not a user of Jira, he will send his problem by email, for example, jira@atlass.com. From this email, it will automatically create a new task in our project in Jira. 

The problem is, that Michal doesn't know the task key of the task he created. Until someone who has access to Jira and our project will tell him the task key.

Is there some way, that Jira can send Michal the task key that he created through the email?

John Funk
Community Champion
June 3, 2023

If you are creating the issue by email then Automation for Jira would not be the Reporter on the issue. Are you not capturing the email of the user when they send an email to create the ticket? That should be what is in the Reporter field. 

Suggest an answer

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

Atlassian Community Events