The Power Automate Jira Operations "Get Issue" and "Edit Issue" unfortunately, for unreasons, the "Get Issue" returns a text field with simple links in the form "[DisplayedUrl|RedirectUrl]", while the "Edit Issue" requires the same field to be in Atlassian Document Format.
I'm forced to rebuild a string in Atlassian Document Format. My Kingdom for the ability inject some script (Python, PowerShell, SQL) or code (C#, Java, VB6 even), but, again for unreasons, Power Automate forces me the structure a String Builder in UI components, instead of Code or Script. It's insane.
So, ultimately the problem is, I'm trying to build this string builder using these jank UI components. I'm trying to use a "Set (String) Variable" or "Append String Variable" with text like the following. But I can't save the Flow because Power Automate complains "Enter valid json." But why? It's not json. I don't want it to be json. It's just a string. I'm just trying to save a string. Why won't it just save, Power Automate? How do I get Power Automate to ignore this ridiculous "Enter valid json." error and just save?
{
"type": "text",
"text": "Documents: @{items('Apply_to_each_-_Existing_Documents_Array_-_Markup_and_set_Existing_Documents')['SubmittedDTTM']}"
},
{
"type": "hardBreak"
}