How can I clear date value via bulk edit api ?

Thinh Le
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 5, 2024

According to the documentation, I can set the field formattedDate to an empty string to clear it, but it doesn't work in my case. The response always returns "formattedDate must not be empty" whenever I set it to an empty string.

Here is the evidence:image_720.png

1 answer

0 votes
Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 5, 2024

Hi Thinh Le,

Did you try omitting the formattedDate property entirely or explicitly setting the date object to null?

{
"editedFieldsInput": {
"datePickerFields": [
{
"fieldId": "duedate",
"date": null
}
]
},
"selectedActions": ["duedate"],
"selectedIssueIdsOrKeys": ["10309"],
"sendBulkNotification": false
Thinh Le
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 5, 2024

I've tried setting it to null and empty string, but nothing worked.
Screenshot 2024-12-06 091442.pngScreenshot 2024-12-06 091454.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events