You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am trying to create an automation that sends notification to a group of users when the Team assignment field changes.
In the issue the value is not empty I am sure it's me using the wrong value but not sure what it could be?
Edit: inspecting the page I found to be getting updated. using this new info I am still getting the error field may be empty.
"customfield_11901":{"id":"3","title":"IT Tools Team"
Edit: Inspecting the page I found the following being updated.
"customfield_11901":{"id":"3","title":"IT Tools Team"
Using this new info I changed my automation to create a variable of {{issue.customfield_11901.title}} which returns my Group Name. (IT Tools Team) I am trying to use the variable {{GroupName}} for the To address.
I think the issue is when I manually want to add it shows in a list and then it needs to be selected. With the smart value I think the value is being added but not selected. Giving me the empty value.
Apologies but I'm not sure I completely understand the problem
1. Firstly to find out about the custom fields for your issue - please check this documentation https://confluence.atlassian.com/automation/smart-values-for-fields-993924665.html - it helps you extract smart values from the REST API.
2. How have you defined the {{GroupName}} variable which you are using to Send email - does it resolve to an email address ?
@Agraj Mangal working with Atlassian support we were able to get this working.
My variable {{GroupName}} is being populated by the title value of a field. That value is the name of a Shared Team, We have Jira User Groups that match the naming of our Shared Teams. Well the To: e-mail field I guess was seeing this as a string rather than a smart value? and not populating the field.
Our workaround was to create a new field (Group Picker) singular) and populate that with the variable {{GroupName}} then using the field to populate the To: value for the e-mail notification for said group.
The purpose of this is to notify a support team of an issue assignment to their group
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.