I want a Jira Automation rule to send a web request and create a new issue in another Project on a different site.
The problem I am facing is the description. Since the Description uses the ADF format it's hard to make a web request that will copy the description of the current issue when creating a new issue.
I almost got it, by making a webrequest first to get the current issue, then just copy the ADF formatted data from description field with {{webresponse.body.fields.Description}}
The problem is this doesn't look like valid Json anymore.
so it will look like
{version=1, type=doc, content=[{type=paragraph, content=[{type=text, text=This is just some sample text}]}]}
instead of this
{"version": 1, "type": "doc", "content": [{"type": "paragraph", "content": [{"type": "text", "text": "This is just some sample text"}]}]}
Any help would be appreciated if there are other ways to accomplish this!