Using an API call
Referencing ADF: Document builder (atlassian.com)
I have successfully set the description field as:
{
"update": {
"description": [
{
"set": {
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Hi"
}
]
}
]
}
}
]
}
}
I would like then update the field, adding another line that says "hello again" (not really, this is just test data). I believe swappting "set" for "add" should achieve this: Advanced field editing using JSON | Cloud automation Cloud | Atlassian Support
My attempts are failing:
{
"update": {
"description": [
{
"add": {
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Hello again"
}
]
}
]
}
}
]
}
}