Forums

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

Get new ticket number after issue created via automation

Drishti Maharaj
Contributor
August 7, 2024

Hi, 

We have a project that when an issue transitions to a particular status, an automation will run to create a new issue in a seperate project copying the details over from the original issue and adding some extra information. 

Is there a way through to link the issues in the automation or somehow send an email with the new issue number to a certain individual?

Thanks. 

2 answers

1 accepted

2 votes
Answer accepted
John Funk
Community Champion
August 7, 2024

Hi Drishti,

Sure, at the end of your automation rule that creates the Issue, add an action for Send Email and include {{issue.key}} to see the new issue key. And in the body of the email, you can use <a href="{{issue.toUrl}}">{{issue.summary}}</a> to add a clickable link. 

If you will share the rule here, we can take a look to make sure you have it correct. 

Drishti Maharaj
Contributor
August 11, 2024

Hi @John Funk  - it seems that it is bringing the original issue key and not the issue key of the new issue that was created in a different project.

I am trying to include the issue key of the new issue that was created and not sure if that would be possible.

 

Screenshot 2024-08-12 072803.png

John Funk
Community Champion
August 11, 2024

In that case try {{createdIssue}}

Drishti Maharaj
Contributor
August 11, 2024

@John Funk  - that has worked like a charm! Thank you so much!

Like John Funk likes this
John Funk
Community Champion
August 11, 2024

Great! Glad I could help. 

Like Drishti Maharaj likes this
0 votes
Mark Higgins
Community Champion
August 7, 2024

Hi Drishti,

You can also link the tickets in the automation.

When you create the new issue you can set the Linked Issues field, like this:

Screenshot 2024-08-08 105803.png

then in the area below where you set the field you can do this:

Screenshot 2024-08-08 105901.png

 

Hope that helps

Mark

Suggest an answer

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

Atlassian Community Events