Forums

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

Automation-create new subtask and send email with new subtask url

Cristina Pierce
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!
March 23, 2023

I have an automation rule set up to create a subtask when a certain field is changed to a specific value and then send an email to the new subtask assignee. Right now it’s working as expected, but I want to include a URL in the email of the new subtask that has been created. Right now I have only found a way to put URL of parent issue using {{issue.url}}


Note—we have created an issue called “sub-task”

I have tried {issue.subtask.url}}, {{subtask.url}}, {{sub-task.url}} with no luck. 

1 answer

1 accepted

1 vote
Answer accepted
Mark Segall
Community Champion
March 23, 2023

Hi @Cristina Pierce and welcome to the community!

To confirm my understanding, you're creating a sub-task and in the same rule want to provide that sub-task URL?  In this case, you would use 

{{createdIssue.url}}
Cristina Pierce
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!
March 27, 2023

Yes!!! That’s exactly what I was looking for. Thanks so much!!

Like Mark Segall likes this

Suggest an answer

Log in or Sign up to answer