It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
We have a requirement to turn a field mandatory on the basis of result of comparison of two other fields. I am trying to use behaviours plugin for it but not able to succeed. I need some help to understand this plugin more.
Also, I can not see Validate JIRA Requiredness in general settings as mentioned
I have enabled the logging but how can I see the logs?
Regards
Sandeep
Hi Nuwan,
So this is what I need:
We have a field called delivery date (date type) which is optional.
Other two fields are
Fixed Version (single choice list type) and Sprints (single choice list type).
Our requirement is that if the value chosen in fixed version is included in the list of Sprints then the delivery date should become mandatory.
Thanks
Sandeep
try with this server side script
FormField sprint = getFieldByName("Sprint")
FormField fixedVersion= getFieldByName("Fixed Version")
FormField delivery = getFieldByName("Delivery Date")
String sprintValue = (String) sprint.getValue()
String fixedVersionValue = (String) fixedVersion.getValue()
if(sprintValue=fixedVersionValue)
{
delivery.setRequired(true)
}
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreAtlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.