The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to have Rovo to edit a work item in a Automation?

amit.deb
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2025

I have a Agent which receives this example JSON filled out:

{ "priority": "<LEVEL>", "impacted_team": "<TEAM>", "sub_impacted_team": "<SUBTEAM>", "request_category": "<PRODUCT>", "sub_request_category": "<SUBPRODUCT>", "assignee": "<NAME>", "assignee_accountId": "<ID>", "issue_url": "<URL>" }

I want the Agent to edit the work item however after:
- Prompting the Agent to edit the work item

- Prompting the agent to edit the incoming JSON to fill out:

{
"update": {
"customfield_16165": [
{
"set": {
"value": "{{impactedTeam.value}}",
"child": {
"value": "{{subImpactedTeam.value}}"
}
}
}
],
"customfield_16164": [
{
"set": {
"value": "{{requestCategory.value}}",
"child": {
"value": "{{subRequestCategory.value}}"
}
}
}
],
"priority": [
{
"set": {
"name": "{{priority}}"
}
}
],
"assignee": [
{
"set": {
"id": "{{assigneeAccountId}}"
}
}
]
}
}

- Prompting to edit the work item based on the filled out JSON above
- Lastly Giving the Agent actions of updating priority, assignee, and editing the work item

2025-08-11_13-04-08.jpg

This agent should ultimately parse the incoming JSON and fill out the fields in the current work item.

In the Audit Log of `Edit work item fields` I keep getting a invalid JSON.
Additionally forcing the Agent to edit the fields does not do anything

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Dr Valeri Colon _Connect Centric_
Community Champion
November 13, 2025

@amit.deb Automation can’t apply the raw JSON you generate. Rovo Agents must output only the field values, not a Jira REST-style update object. The automation action builds the JSON for you. Have the agent return a simple object like: {priority:"High", impacted_team:"X", …}. Then map each value in Edit work item fields. If the agent outputs nested child objects or REST syntax, Automation rejects it as invalid JSON.

TAGS
AUG Leaders

Atlassian Community Events