example (issue create screen )
marital status:- 1)Yes
2)No
if we select yes then automatically two fields appear on the same screen
if we no no need to show fields
implement this feature without using any add-on
Hello,
You would need an add-on for it.
You could also use the Power Scripts add-on:
You could use the Live Fields feature:
https://confluence.cprime.io/display/JJUPIN/Live+Fields
The code for your requirement would look like this:
if (argv["customfield_10100"] == "Yes") {
lfShow("customfield_10101");
lfShow("customfield_10102");
} else {
lfHide("customfield_10101");
lfHide("customfield_10102");
}
customfield_10100 is the radio button field.
customfield_10101, customfield_10102 are the fields, which must be shown.
use behaviours from scriptrunner!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can write your own java script
Refer
https://community.atlassian.com/t5/Jira-questions/JavaScript-to-Hide-Show-Custom-Field/qaq-p/193998
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.