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.
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:
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:
https://<yourinstanceurl>/rest/api/3/issue/<issuekey>?expand=names
Kind regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.