Anyone know the smart value for the new "Team" field?

Ismail Sanni
Contributor
December 19, 2023

Hi Guys,

I'm trying to create an automation to send emails to the users in the new "Team" field, but the field isn't showing up, and I can't seem to get a smart value for it.

Any contribution would be much appreciated.

Thanks

4 answers

1 vote
Bill Sheboy
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.
December 19, 2023

Hi @Ismail Sanni 

Automation rules do not support all fields.  Worse still, there are multiple things in Jira called "Team".

Smart values are name, spacing, and case-sensitive.  And often the smart value does not match the displayed field name on the issue views.  The how-to article below helps to identify the correct smart value (and custom field id) for any supported fields for automation rules.

The essential steps are:

  • identify an issue which has your field(s)
  • call a REST API function with a browser to search for your issue:
https://<yourinstanceurl>/rest/api/2/issue/<issuekey>?expand=names
  • search on the page for your field, such as with CTRL-F
    • if you find the field, you will also find the smart value, custom field id, and structure / attributes it has
    • if you do not find the field, it is not supported by automation rules

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Kind regards,
Bill

Ismail Sanni
Contributor
December 20, 2023

Thanks for your reply @Bill Sheboy I got the smartvalue but i couldn't send an email to it. The email automation keeps giving me error.

Bill Sheboy
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.
December 20, 2023

Please post an image of your complete automation rule, the details of the send email action, and of the audit log details showing the rule execution.  Those will provide context to help explain this symptom.  Thanks!

1 vote
Aaron Pavez _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 19, 2023

Hi @Ismail Sanni 

Try what the user mentioned here:

https://community.atlassian.com/t5/Jira-Software-questions/Smart-value-of-Team-name-for-an-issue/qaq-p/1911773

In my instance, the field value is 10001. 

you can get the ID by going to the gear icon -> issues -> custom field -> search for TEAM -> 3 dots on the right -> view field information -> check the URL.

Regards

Aaron

Ismail Sanni
Contributor
December 20, 2023

Hi Aaron,

Thanks for your reply, I tried it, I can't seem to send an email to the team.

Thanks

Aaron Pavez _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 20, 2023

Hi @Ismail Sanni 

Can you send us screenshots of the automation please? 

Regards

0 votes
acam January 5, 2024

it looks like it is {{issue.team}}, I tried and it worked. 

Steve Holland
Contributor
October 17, 2024

@acam that works but it just shows you the numerical value of the team ID, not the display name.  this is what will print the display name of the team {{issue.team.Name}}

0 votes
Kenyon Barnette January 3, 2024

hi @Bill Sheboy and @Aaron Pavez _ServiceRocket_ . I think that I am trying to do the same thing that @Ismail Sanni is looking to do. In the To field I would love to present the email address of all members of a specific Team so it is dynamic as the team members change. Is there a way to get the email address of team members in a list by creating a smart value variable?Screen Shot 2024-01-03 at 09.35.38 AM.png

Aaron Pavez _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 5, 2024

Hi @Kenyon Barnette 

You cant use the TEAM field to send an email. The Send email action only supports the user field, groups and Initiator, pending approvers and all customers.

There is a good workaround here, but cant be done with the TEAMs field(posted by @Bill Sheboy )

https://community.atlassian.com/t5/Jira-Content-Archive-questions/Need-to-create-Automation-to-email-a-specific-group-of-users/qaq-p/2409120

Regards

Aaron

Like # people like this

Suggest an answer

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

Atlassian Community Events