You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi
I have a custom field environment(custom field_10044) which is a select list
in which if we select prod in the list four of custom fields should be populated.
Change failure comments(custom field_10049)
change failure(custom field_10046)
defect leakage(custom field_10047)
defect leakage(custom field_10048)
if we select the rest in the environment(custom field_10044) the above 4 custom fields nothing should be populated.
need this behavior while creating an issue
kindly help
// Insert the Jira UI modifications API script for the behaviour.
var environmentField = getFieldById('customfield_10044');
var defectleakagercacommentsField = getFieldById('customfield_10048');
logger.info('Value : '+ environmentField.getValue().name);
if(environmentField.getValue().name == 'Prod'){
defectleakagercacommentsField.setVisible(true);
logger.info('true');
} else {
defectleakagercacommentsField.setVisible(false);
logger.info('false');
}
i have written the script
The above script is working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.