Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi ,
I do have one custom field multi selection called Roles with vales a,b,c,d,e
Another custom field user picker called requestor.
When I select requestor as "raju@gmail.com"
The roles field should show only a,b values and it should hide c,d,e values.
Can you give any solution and I have this requirement in Jira cloud
Hey @kedar You can try this. Hope this will help!
def requestorField = getFieldByName("Requestor")
def rolesField = getFieldByName("Roles")
if (requestorField.getValue().toString().equals("raju@gmail.com")) {
rolesField.setFieldOptions(["a", "b"])
} else {
rolesField.setFieldOptions(["a", "b", "c", "d", "e"])
}
Hello @kedar
That requirement cannot be met with native Jira Cloud functionality.
Are you will to consider using a third party app?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you reviewed the vendor documentation for ScriptRunner Behaviours and watched the demo videos?
To what type of project do you want to apply this? Get the project type information from the View All Projects page under the Projects menu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What did you try? Show us what you constructed and tell us what you observed after you activated it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.