You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
I'm trying to add a year to a date field based on custom field value in behavior.
For ex.,
if(issue.getCustomFieldValue(ConditionAgreed) != originalIssue.getCustomFieldValue(ConditionAgreed) {
def expirydate = getFieldByName("Expiry Date")
def expirydatevalue = expirydate.getValue() as Date
def revisedexpirydate = expirydatevalue.plus(365)
expirydate.setFormValue(revisedexpirydate.format('MM/dd/yyyy'))
}
However, I could not get it working. Please help
Thanks
--Vimal
Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...
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