Forums

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

Edit Notification Templates in Jira Cloud

Monika Rani
Community Champion
October 27, 2023

How can I edit the notification template that I am sending from Jira to MS teams using webhooks in the Jira cloud?

I want to add text, and some fields here. Any help?

 

2 answers

1 accepted

0 votes
Answer accepted
Deleted user
October 29, 2018

Hey there Scott,

With Automation for Jira you can match the values of a cascading select list using smart values (see https://docs.automationforjira.com/smart-fields/smart-fields.html) and a compare condition https://docs.automationforjira.com/components/conditions/conditions.html#compare

In your case, the rule might look something like:

Project_automation_-_Your_Company_Jira.png

 

Where you use the smart value:

{{issue.Your field name.value}}:{{issue.Your field name.child.value}}

EQUALS

Parent value:Child value

To match both the parent and child. Once that's matched, you can add whatever automation you need.

Let us know if that helps!

Cheers,

Mark C

Scott Federman
Contributor
October 30, 2018

Hey Mark, 

So in this case would this be correct?

{{issue.Primary Component.value}}:{{issue.Sub-Component.child.value}}

EQUALS

Alerting & Reporting:Phone Home Client Software
0 votes
Tom Lister
Community Champion
October 29, 2018

You could use a plugin like scriptrunner to write a custom post function to perform this.

We had to build functions to assign authorisers and implementers based on systems drop down selection. We stored the lookups in cascading selects where the first level was a system and the sub level the grops to use. It works and the users took to maintaining the lists. 

The same app had a risk assessment based on a questionnaire. This used the options selected to derive a value. Similar to evaluating options in your case.

so doable but there may be plugins out there already 

Suggest an answer

Log in or Sign up to answer