Forums

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

Automation Smart Value for Project Role

Taylor Chappell
Contributor
November 13, 2024

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.

1 answer

0 votes
Kseniia Trushnikova
Community Champion
November 19, 2024

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:

Screenshot 2024-11-19 at 15.09.51.png

The smart value {{webhookResponse.body.actors.name}} returns usernames of role members.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

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 today
AUG Leaders

Atlassian Community Events