I tried using Jira's bulk edit issue but it works fine when i try to add labels to a work item but throws error when i try to edit description or summary.
This is the payload i used for editing labels,
{
"editedFieldsInput": {
"labelsFields": [
{
"bulkEditMultiSelectFieldOption": "ADD",
"fieldId": "labels",
"labels": [
{
"name": "Test"
}
]
}
],
},
"selectedActions": [
"description"
],
"selectedIssueIdsOrKeys": [
"BBD-574"
],
}
It worked perfectly fine. This is the payload iam trying to use for description,
{
"editedFieldsInput": {
"richTextFields": [
{
"fieldId": "description",
"richText": {
"version": 1,
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"level": 3
},
"content": [
{
"type": "text",
"text": "Story:"
}
]
},
]
}
}
]
},
"selectedActions": [
"description"
],
"selectedIssueIdsOrKeys": [
"BBD-574"
],
}
It is throwing error like check the payload something. WHat am i missing here?