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?
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:
Where you use the smart value:
{{issue.Your field name.value}}:{{issue.Your field name.child.value}}
EQUALS
Parent value:Child valueTo 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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.