Is the primary team a custom field or system field? What instance of Jira are you using?
I'm assuming you tried: {{issue.fields.Primary Team}}
or
{{issue.customfield_XXXXX}}
All the above suggestions didn't worked.
Primary Team is a group picker custom field.All other fields like status, assignee, summary, reporter, key is working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great question! Using smart values with the "Primary Team" field in Jira Automation can be incredibly powerful for customizing your workflows.
If "Primary Team" is a custom field in your instance, you'll need its custom field ID to reference it correctly in an automation rule. Here’s how you can locate and use it:
customfield_12345
. This is your field ID.To use "Primary Team" in an automation rule, reference it with the smart value format: {{issue.customfield_12345}}
Here’s an example:
Hi team, the primary team for this issue is: {{issue.customfield_12345}}.
Primary Team: {{issue.customfield_12345}}
If "Dependent Team(s)" is another custom field or part of an advanced setup, follow the same steps to retrieve its custom field ID and apply the corresponding smart value: {{issue.customfield_[Dependent_Teams_ID]}}
To assign issues or route workflows based on "Primary Team," use conditional statements in your rule: if {{issue.customfield_12345}} equals "Team A" then...
Let us know if you need further assistance. Happy automating!
Best regards,
Renata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the source of the content you posted?
If it is from a bot / AI-tool, please see the community guidelines regarding the disclosure of such content in your post's wording:
https://community.atlassian.com/t5/custom/page/page-id/rules-of-engagement
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Renata_Getint We noticed this response has a distinct AI-like formatting. While we're all for embracing new tech, we want remind everyone of the Atlassian community guidelines and Responsible Tech Principles. Put simply, AI can be a great tool for polishing, but your real-world knowledge is what our community values most. We ask the core of your contributions to come from your own expertise.
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.