web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Not able to add commen...
Copilot Studio
Suggested Answer

Not able to add comments using jira connector while transitioning the issue

(0) ShareShare
ReportReport
Posted on by 2
Hi,
 
I am trying to create the agent flow where I have action step "Perform an issue transition" which works fine if i only pass the transition id. However the transition i want to do has mandatory comments before transition happens if I do it from UI. So i am trying to update comments using parameter provided by this action step. but I always get error - Operation value must be an Atlassian Document (see the Atlassian Document Format)

I am passing the comments in ADF format only but still it gives the same error. Has anyone faced this error and solved it? 
 
complete array:
[
{
"add": {
"body": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "agent comments added"
}
]
}
]
}

}
}
]
I have the same question (0)
  • Suggested answer
    Assisted by AI
    sannavajjala87 Profile Picture
    224 Super User 2026 Season 1 on at
    You’re not doing anything wrong with the ADF itself the issue is where you’re passing it.
     
    In the “Perform an issue transition” action, the field Body → update → comment does not accept a full ADF doc object, even though the error message implies it does. That parameter only works reliably with plain text, and the connector does not correctly serialize ADF comments during transitions. Because of that, 
     
    Jira keeps rejecting the payload with:
    "Operation value must be an Atlassian Document"
    even when the JSON is valid ADF.
     

    What actually works

    The reliable workaround is to split the operation into two steps:

    Add the comment first
        Use “Add a comment to an issue” (this action does support ADF properly).
        JSON{  "type": "doc",  "version": 1,  "content": [    {      "type": "paragraph",      "content":     [        { "type": "text", "text": "agent comments added" }      ]    }  ]}

    Then perform the transition
        Call “Perform an issue transition” with only the transition ID.

    This satisfies Jira’s “mandatory comment” requirement because the comment already exists before the transition is executed.
    Why this happens
    • Jira REST API supports ADF
    • Jira UI enforces mandatory comments
    • Power Automate Jira connector does not correctly handle ADF in the transition comment payload
    So even though the schema suggests it should work, it doesn’t in practice (this is a known connector limitation).
    Summary
    • Your ADF format is correct
    • Body/update/comment in Perform an issue transition is broken for ADF
    • Add comment first → transition second (works consistently)
    • Until the connector is fixed, this two‑step approach is the only reliable solution.
  • PS-24020052-0 Profile Picture
    2 on at
    @sannavajjala87 thank you for the detailed response. really appreciate it.
     
    I tried the approach that you suggested of adding the comments first using add comment step and then transition it without comments. however I still get response with validation comment is mandatory. this is the same validation I get it if I directly do it using Jira UI. there is a validation on the transition itself that if somebody is moving from status 1 to status 2, the pop-up screen comes up where the comment are mandatory.
     
    I checked with Jira admin as well and they said the comments would be mandatory during promotion doesn’t matter if commets are already there. 
     
    looks like it’s an issue with Connector. I am not sure if it is getting tracked anywhere which I can follow. In case you know, please share. Once again, thank you for the response

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 850

#2
Vish WR Profile Picture

Vish WR 324

#3
Haque Profile Picture

Haque 296

Last 30 days Overall leaderboard