Hi
How to add hostname field as mandatory based on priority? Hostname should be available only for sev1 and sev2 type tickets
Welcome to the Atlassian Community!
Do you have Scriptrunner available? You can do this with a Behaviour (assuming you are on Server Jira). If not, then you'll need to do it with an extenion that provides a validator.
Or, you could do it by having different issue types for the priorities "incident high impact" and "incident low impact" for example.
Hii
Yes thank you i didn't thought that i receive answer.thank you .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sir
I have used this script
String var1=argv["priority"];
String var2=argv["custom field_10207];
If((var1=="Highest"&&var2=="Highest"))
{
Lfshowfieldmessage("custom field_17710","field required","Warning");
}
Else{
Lfhide("custom field_17710");
}
For this i have done live field function also
LfInstantHook({"priority","customfield_17710", customfield_10207"}," Hostname_mandatory_Sev.sil");
Lfwatch ("customfield_17710",{"priority","customfield_10207","custom field_17710"}, Hostname_mandatory_Sev.sil");
This want i have written i could get the requirement if choose priority and urgency high means that hostname field is not at all hiding..or else could please post related vedio please sir i am requesting . could please tell where i am mistaken
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please tell me where I am mistaken, please it would be more helpful
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.