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

Jira Automation: How to reference a newly created issue key in an email

Dear all , 

i have created an automation where upon creation, i am assiging the ticket to me, change a field and put a comment.

Then i am triggering an email and i am trying to get the ticket number in the subject or the email body. 

However , i am not able to get the result i wish for.

Here is my workflow : 

2022-05-25_16h06_13.png

I have read following threads : 

https://community.atlassian.com/t5/Jira-Software-questions/Jira-Automation-How-to-reference-a-newly-created-issue-key-in-an/qaq-p/1537181

https://community.atlassian.com/t5/Jira-Software-questions/Jira-Automation-Send-an-email-with-key-of-issue-created/qaq-p/1347484

But i could apply the solutions.

Thanks,

Dimitris

1 answer

1 accepted

7 votes
Answer accepted
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 25, 2022

Hi @Dimitrios Papadopoulos 

The {{createdIssue}} and {{createdIssues}} smart values apply for any issues you create while the rule is running:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--createdIssue--

To access the issue which triggered the rule, just use {{triggerIssue}} or just {{issue}} for the rule you showed.

Kind regards,
Bill

Hi @Bill Sheboy  , many thanks for the fast reply. 

I already have the {{issue.key}} in the rule here : 

 

_2022-05-25_16h06_13.png

But it does not work. 

I tried {{triggerIssue.key}} and it worked like a charm ! Much appreciated , thank you !

Like John Funk likes this
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 25, 2022

I am glad that helped, and...

Did you note that you misspelled it as {{issuse.key}} as that was probably another problem?

Jeffrey Bistrong
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.
Sep 07, 2022

@Dimitrios Papadopoulos thanks for this solution, worked like a charm!!

Suggest an answer

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

Atlassian Community Events