The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events