Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation for specific team within a project: can't select the Team field for condition?

Melissa Mattee Murphy May 7, 2025

Hi all!

I have a successfully executing automation that creates certain subtasks upon issue creation within a project. Two teams share this project. Recently, Team X has realized they no longer need the subtasks, but Team Y still wants them auto-created. 

So, I changed the trigger from "When Issue is created" to "When field value changes", and I selected the Team field. 

But, when I go to add my condition (If Team Field values = Team Y), the Team field is not selectable. So, I can designate that I want the rule to activate when the field is changed, but it doesn't allow me to set a condition for what it's changed to. 

Any idea what could be causing this? It seems like it should be a simple automation to execute, but not being able to format the condition with Team is keeping me stuck. 

1 answer

0 votes
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.
May 7, 2025

Hi @Melissa Mattee Murphy 

Several fields are not listed in the automation rule's dropdown list for actions, conditions, etc.  I suspect Team is one of them because there are several different things named "team" in the various Jira products / features, and the most recent "team" feature is not supported by several rule functions yet.

 

The workaround for your scenario is to use the Smart Values Condition to directly test the smart value (or custom field ID) for the work item.  For example:

  • smart values condition:
    • first value: {{issue.customfield_12345.name}}
    • condition: does not equal
    • second value: TeamX

 

I recommend using the custom field ID for the field rather than the smart value.  To find it, please use this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

The essential steps are:

  • identify a work item with your field, noting the key
  • enter this URL in a browser tab, substituting your Jira URL and the work item key
https://<yourinstanceurl>/rest/api/3/issue/<issuekey>?expand=names
  • search on the page for your field, such as using the Control-F, to find the ID

 

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events