Power Automate Edit Issue (v2): Invalid Request Payload

Hi, folks! I’m trying to use the Jira Edit Issue (v2) connector in Power Automate to update a custom field with a block of text in issues but am consistently receiving the error “Invalid Request Payload”. I’ve checked the REST API documentation and searched the forums, but am unable to figure out what I’m doing wrong.

Here’s an example of the raw inputs on my most recent attempt:

{
    "host": {
        "connectionReferenceName": "shared_jira",
        "operationId": "EditIssue_V2"
    },
    "parameters": {
        "X-Request-Jirainstance": "https://xxx.atlassian.net/",
        "issueIdOrKey": "12436",
        "notifyUsers": false,
        "body/update": {
            "fields": {
                "customfield_10204": {
                    "value": "We tested removing the PaperCut Edge Node client from a few PCs using Intune and it worked well. So, we used Intune to remove the client from all PCs. We have verified that the removal was successful."
                }
            }
        }
    }
}

Does anyone have any suggestions for what I might be doing wrong here?

TIA!

-Simon

Hi folks- for anyone who runs into the same thing, this is the JSON I needed to put in Fields in the Edit Issue (v2) step in the flow:

{
  "customfield_10204": {
    "type": "doc",
    "version": 1,
    "content": [
      {
        "type": "paragraph",
        "content": [
          {
            "text": "@{outputs('Modified_Resolution')}",
            "type": "text"
          }
        ]
      }
    ]
  }
}
1 Like