Hi Team,
I'm Using a "Power script" runner plugin so i have a task that depends up on the value in a Select list custom field the Text field value has to appear on create and edit screen. I'm trying a script but its not workinh here is the script.
lfHide("customfield_10805"); //
lfWatch("customfield_10822", {"customfield_10822"}, "Hide Fields.sil");
lfInstantHook({"customfield_10822"}, "Hide Fields.sil");
if(argv["customfield_10822"] == "White-List") {
lfShow("customfield_10805");
}
else {
lfHide("customfield_10805");
}
and i have also smalll confusion by using this add-on .
can anyone please suggest me how to achieve this .
Thanks,
Kumar
Hi Kumar!
I just found an article that might help you achieve this!
Hope this helps!
Best Regards.
Hi @Henrique Bittencourt thanks for your response i have tried that before but it didn't work.
Here I have tried 2 scripts and i have mapped to the project so every thing is fine here is the script below
//1) LiveScript.sil
lfHide("customfield_10914");
lfWatch("customfield_10913", {"customfield_10913"}, "JiraWork/HideFieldCCCR.sil", {"keyup", "change"});
lfInstantHook({"customfield_10913"}, "JiraWorkfolder/HideFieldCCCR.sil");
// 2)Hidescript.sil
if(argv["customfield_10913"] == "Yes") {
lfShow("customfield_10914");
lfShowFieldMessage("customfield_10914", " Field Address is required.", "WARNING");
}else{
lfHide("customfield_10914");
}
The thing is the fields are working fine but the only thing is when i select a option "Yes" it will display a hidden field i'm selecting that field and creating ticket.
The only thing is the hidden field which i have selected is not showing in the created ticket and i tried in with doing edit also but still that field is not showing on ticket. When You refresh it will showinh for 1sec and hiding.
can you please help me in scripting.
Thanks,
Kuamr
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.