The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
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.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.