I'm trying to run an automation that sets a custom user picker field to users in a project role.
I initially looked at using the smart value {{project.role["Approver 1"].members}} in the selection field in the "Edit Issue" component, but that doesn't return anything.
I've looked at a couple other posts that make a ton of sense to me at the moment:
If someone could either point me in the right direction to know where to edit what condition, use the proper smart value, or anything else, I would appreciate it.
I am using Jira Data Center in a Software type project.
Hi @Taylor Chappell,
Both posts you give links to are for Jira Cloud. In Jira DC, you can only get the project role members by sending a web request in Automation.
Check out this guide Automation For Jira - How to create a rule that adds to the watcher list of an issue the members of a project role. I tried setting up a test rule on my instance using this guide and was able to get members of my project role. So it should work for you too.
My rule as a reference:
The smart value {{webhookResponse.body.actors.name}} returns usernames of role members.
Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!
Register todayOnline 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.