JMWE app - Require a Field if User is in specific user group

Lexi
Contributor
March 21, 2024

I am not a developer, I can't follow any of the support documentation. I am sure this is extremely simple and I'm just hoping someone can write this for me.

I want to use the Validator on transition to require a specific field to be filled out if the current user is in the user group "QA"

my user group id is: 05fc1b87-9cb9-409c-ad33-b87def5ca949

 

Please help me :)

 

 

1 answer

1 accepted

2 votes
Answer accepted
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 21, 2024

Hi @Lexi 

You can use a Field Required Validator (JMWE app), select the field that needs to be required, and add this conditional validation script:

user.groupIds.includes("05fc1b87-9cb9-409c-ad33-b87def5ca949")
Lexi
Contributor
March 21, 2024

thank you @David Fischer . I hate asking things like this, I knew it was be very easy, I just couldn't find the correct combination of "user" and "group" on my own.

That worked perfectly. I really appreciate it! So much easier than Scriptrunner, I love the JMWE app.

Like Ravya likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events