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.
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.