This might be a trivial question, but my attempt to have an automation using a rovo agent to summarise steps on a work item into a KB article guide isn't outputing any of the content into the confluence page.
The steps are:
The page gets created, except there is nothing on the page.
I've reviewed the automation logs, there is output from the agent, but its not coming over to the confluence page.
Seems like something basic im missing?
I've looked at many Atlassian articles on how to use rovo agents and in automations, none of them help.
e.g.
How Do You Use {{agentResponse}} in Atlassian Auto... - Atlassian Community
Automating Rovo agents | Rovo | Atlassian Support
To resolve, the agent instructions (not the prompt in my automation) required adjustment.
From:
Create a well-formatted Confluence page with the structured guide containing
To:
Create a well-formatted Knowledge Base Article with the structured guide containing
Small detail, but its what resolved the issue.
Hello
Can you provide the details of the Use Agent step, please?
Are you triggering this rule while viewing a Jira issue?
Before the step to create the Confluence can you add a Log action to print the agent response smart value to the rule execution log? Then try executing the rule again and share the audit log output with us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agent action:
Are you triggering this rule while viewing a Jira issue?
Yes, when viewing a JSM work item
Log action only shows "Log": when attempting to log the {{agentResponse}} response.
I've also logged a support ticket and will track and place an update on this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the additional information @Phillip C
I think that the problem is that your agent doesn't know what issue you want it to reference.
Your prompt says "the ticket". I think if you try replacing that with {{issue.key}} it will then know which ticket to reference and your agent response will not be empty. That is what worked in my simple test.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks Trudy for the help. But no luck with using the {{issue.key}} smart field. I do like that approach though for improving my prompt.
The log action still only shows 'log', nothing else. the debug agent response shows a good amount of data indicating it's done exactly what i needed, but it's not outputting.
I've got my support ticket still open, so waiting on their response!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share with us the new version of the prompt? And if you changed the rule in any other way provide a new image showing the rule. And again show the log output.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also please show the comments of the issue for which you trigger the rule so that we can see that there are Internal comments on the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Trudy Claspill ,
just to close the loop on this, the fix was to update the agent prompt.
I changed a line in it from:
Create a well-formatted Confluence page with the structured guide containing
To:
Create a well-formatted Knowledge Base Article with the structured guide containing
Silly mistake, but good to know and be on the lookout for moving forward! Appreciate your help :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad you found the solution!
If my responses helped you, please consider clicking the Accept Answer button above my responses.
If you found that the solution was not related to any of my suggestions, I encourage you to add your own Suggest an answer response with the actual solution and mark that one as Answer Accepted.
Clicking the Answer Accepted button marks your Question as Solved and is very helpful to people searching the community when they are searching for solutions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.