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));
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.