Hello!
This may be a silly question, but I’m really struggling to get it right.
I would like to return the content of an entire paragraph within my Jira custom field to automate formatting it into an HTML structure, such as adding line breaks, bold font, bullets, etc.
I’m attempting to use either the Jira description or the Action (TXT) custom field. This is my output when I use the “Get an issue” module in Jira:
“description”: {
“type”: “doc”,
“version”: 1,
“content”: [
{
“type”: “paragraph”,
“content”: [
{
“type”: “text”,
“text”: “Hello Mareli,”
}
]
},
{
“type”: “paragraph”,
“content”:
},
{
“type”: “paragraph”,
“content”: [
{
“type”: “text”,
“text”: "The following request types were altered; "
}
]
},
{
“type”: “orderedList”,
“attrs”: {
“order”: 1
},
“content”: [
{
“type”: “listItem”,
“content”: [
{
“type”: “paragraph”,
“content”: [
{
“type”: “text”,
“text”: “Upload and Distribute a company report”
}
]
}
]
},
{
“type”: “listItem”,
“content”: [
{
“type”: “paragraph”,
“content”: [
{
“type”: “text”,
“text”: “Upload and Distribute a company report (no estimates)”
}
]
}
]
},
{
“type”: “listItem”,
“content”: [
{
“type”: “paragraph”,
“content”: [
{
“type”: “text”,
“text”: “Upload and Distribute an Industry report”
}
]
}
]
},
{
“type”: “listItem”,
“content”: [
{
“type”: “paragraph”,
“content”: [
{
“type”: “text”,
“text”: “Upload and Distribute a Compilation Report”
}
]
}
]
},
{
“type”: “listItem”,
“content”: [
{
“type”: “paragraph”,
“content”: [
{
“type”: “text”,
“text”: “Upload a model”
}
]
}
]
},
{
“type”: “listItem”,
“content”: [
{
“type”: “paragraph”,
“content”: [
{
“type”: “text”,
“text”: “Upload a presentation”
}
]
}
]
}
]
},
{
“type”: “paragraph”,
“content”:
},
{
“type”: “paragraph”,
“content”: [
{
“type”: “text”,
“text”: “Hope that works!”
}
]
},
{
“type”: “paragraph”,
“content”:
},
{
“type”: “paragraph”,
“content”: [
{
“type”: “text”,
“text”: “Best,”
},
{
“type”: “hardBreak”
},
{
“type”: “text”,
“text”: “Heksie”
}
]
}
]
},
It only returns the first sentence in my next module. I would like to see the entire paragraph. I tried using an iterator and text aggregator, but it still did not work.
Any suggestions would be greatly appreciated.
Thanks!