Forums

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

Can some one will help me out how to customise the Jira Automation email notification

Sreenadh
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.
January 2, 2023

Hi,

Can some one will help me out how to customize the Jira Automation email notification.

I have created a Notification which i whenever Status is changes from Assigned to Service Desk to In progress Service Desk then email notification is triggered to Assigned to Individual user

1.PNG2.PNG

I want to Customize the content of the email like details of the incident

Issue Type: Incident

Request Type: Incident

Project: Service Desk

Key: SDP1,2,3,4-----

Description:test

Summary: test

Service/System: Avalara

Region: Central

Package Name:Ack

what ever i filled in while creating the incident form those details should be there in the Email

Please help me out how to do the same.

Thanks,

 

1 answer

1 accepted

2 votes
Answer accepted
Alex Koxaras -Relational-
Community Champion
January 2, 2023

Hi @Sreenadh 

I would expect to use smart values. These would be something along the following lines:

  • Issue Type: {{issue.issueType.name}}
  • Request Type: {{issue.Request Type}}
  • Project: {{issue.project}}
  • Key: {{issue.key}}
  • Description: {{issue.description}}
  • Summary: {{issue.summary}}
  • Service/System: {{issue.[Custom Field]}}
  • Region: {{issue.[Custom Field]}}
  • Package Name: {{issue.[Custom Field]}}

 

Where [Custom Field] would be of the form of customfield_XXXXX

Sreenadh
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.
January 2, 2023

Hi,

Can you please check the attached screenshot for your reference.

5.PNG6.PNG

Alex Koxaras -Relational-
Community Champion
January 2, 2023

For Project write the following {{issue.project.projectTypeKey}}

Sreenadh
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.
January 2, 2023

Working fine but project name is showing as service_desk instead of

Service Desk Project

7.PNG

Alex Koxaras -Relational-
Community Champion
January 2, 2023

@Sreenadh only this value can be returned https://support.atlassian.com/cloud-automation/docs/jira-smart-values-projects/

Try to type:

{{if(equals(issue.project.projectTypeKey, "service_desk"))}}
Service Desk
{{/}}

But the above will work only for Service Desk projects.

Suggest an answer

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

Atlassian Community Events