Hi,
We had this working in Data Center, and now I'm trying to rebuild in cloud. Let me know if this possible. Here's the scenario:
We would like to create this behaviour:
Is this possible in cloud Jira?
Hey @Inayat Nahvi ,
Have you tried using "Date Picker" custom field instead? Behaviours Cloud Supported Fields
const selectedValue = Customfield1.getValue();
let daysToAdd = 0;
if (selectedValue === "A") {
daysToAdd = 3;
} else if (selectedValue === "B") {
daysToAdd = 5;
} else if (selectedValue === "C") {
daysToAdd = 7;
}
// Update the datepicker2 field with the new date
if (daysToAdd > 0) {
const newDate = addDays(new Date(), daysToAdd);
datepicker2.setValue(formatDate(newDate));
}
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.