I want to add one custom filed with few values in drop down.
How can we Manage poping up other custom filed based on previous value selected.
for example:
i have one custome filed like Are you Employee: if YES is selected for this filed, immediately another filed should display like Employee ID:
If selected No. Nothing should dispaly
How can we manage this filed? any plugin or module which helps here?
Hi @Kishore D
You can achieve this with Adaptavist ScriptRunner for Jira using the "Behaviours" functionality. (
You'll need some groovy knowledge for it, but they also have a library full of useful scripts. It's relatively easy and offers almost unlimited use cases.
Hope this helps.
Kind regards
Jorden
Hi @Kishore D
You can get a lot of script code from the Adaptavist Library.
Example below checks customfield with ID "12345" for "A value". If the value of the field matches "A value", another field (with ID 54321) will be set as hidden.
def testField = getFieldById("customfield_12345")
if(testField.getValue() == "A value"){
getFieldById("customfield_54321").setHidden(true)
}
Hope this helps!
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.