How to use primary team in automation rule like we use issue.key or issue.Dependent Team(s)
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}}
Hi @khushboo_puri
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
To use "Primary Team" in an automation rule, reference it with the smart value format: {{issue.customfield_12345}}
{{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]}}
{{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...
if {{issue.customfield_12345}} equals "Team A" then...
Let us know if you need further assistance. Happy automating!
Best regards,Renata
Hi @Renata_Getint
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
@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.
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
It looks like you're new here. Sign in or register to get started.