Forums

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

Automation rule

Narsha Bac
Contributor
May 30, 2023

Hello,

I have an automation (attached) which gets triggered upon closure of an issue.  In the automation, a new issuetype is being created in a specific project and then an email is sent. 

My question is; is it possible to add the issuekey or url of the issue being created in the email here? That is, the issuetype CAPA which is being created - to add its details in the email. 

Grateful if you can help or confirm the feasibility of doing this.

Thanks,

Narsha

Screenshot 2023-05-30 182441.png

1 answer

1 accepted

2 votes
Answer accepted
Piyush A (STR)
Community Champion
May 30, 2023

Yes, you can use the below:

{{#createdIssues}}{{key}}{{/}}

Or

{{createdIssues}} 
Narsha Bac
Contributor
May 30, 2023

Thanks a lot! It worked.

Like Piyush A (STR) likes this
Narsha Bac
Contributor
May 31, 2023

Hi Piyush,

I needed some more help on this one. In my create issue action, I am setting some fields which is being copied from the triggered issue.

I need to set a cascading field where the value will be same as the triggered issue.

Any idea on how can this be achieved?

I know we must use JSON in the additional fields, but I am not able to get the right code for it. I am trying the below but it is not working.

{
"fields":{
"customfield_13610":"{{triggerIssue.customfield_13610.value}}
}

Grateful if you advise on this.

Thanks,

Narsha

Suggest an answer

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

Atlassian Community Events