Hi,
I want to create an automation rule which goes through all request participants and checks if they are administrators.
The smart value {{RequestParticipant.emailAddress}} successfully delivers a participants email address, but how can I check if the participant's role is administrator?
Kind regards, Eirikur
Hello @Eiríkur Baldur Þorsteinsson
RequestParticipant list, is that a user picker field?
In the If condition section, instead of comparing 2 values option, there is a user condition section which lets you check reporters/assignee/user are in admin role. Have you checked that option?
Hi Kalyan,
RequestParticipant is a list of users in the issue field Request participants, which is a user picker field.
I cannot use the User condition because its User input does not take smart values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To confirm, you dont see "Request Participants" as an option in the drop down? (highlighted below)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is correct. I don't see "Request Participants" as an option in the drop down.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm. I cant think of a simple way and hoping others can pitch in and help.
But If what you want to know if is the user is of Admin role in a project, below thread tells you how to do that through REST calls. So if comfortable with making "send web request" action inside your branch, def review below thread in the mean time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, Kalyan.
I have been able to make it work with send web request, but it seems like a lot of effort. I was hoping there was a simpler way, which did not require a user's email address and password or token, because it means that the automation stops working if the user gets disabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great, and agreed with the effort needed and especially the tight coupling to rule author's credentials.
Maybe its because of GDPR regulations that Jira does not have a easy way maybe?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.