Forums

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

JQl for user in certain role for automation

Saqib Dar
Contributor
October 25, 2022

Hi team,

I am looking for JQl that searches user in certain role for automation?

Thanks

Regards,

Saqib Dar

2 answers

2 accepted

1 vote
Answer accepted
Joseph Chung Yin
Community Champion
October 25, 2022

@Saqib Dar -

Unfortunately, it is not possible using the out of the box JQL.  You will need additional add-on - Example - Scriptrunner for Jira https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?tab=overview&hosting=datacenter

This add-on provides custom JQL function where you can conduct your activities - https://docs.adaptavist.com/sr4js/6.20.0/features/jql-functions/included-jql-functions/user-functions

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Saqib Dar
Contributor
October 25, 2022

Thanks @Joseph Chung Yin 

0 votes
Answer accepted
Walter Buggenhout
Community Champion
October 25, 2022

Hi @Saqib Dar,

That is not possible out of the box. Since you seem to be on server and if you have Scriptrunner installed, you could use the following:

issueFunction in memberOfRole("Reporter", "Administrators")

Hope this helos!

Saqib Dar
Contributor
October 25, 2022

Thanks @Walter Buggenhout 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events