Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1897

Use Rovo Agent action's agentResponse smart value in Jira Automations does not work with text field functions in subsequent actions

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      In Jira Automations, text fields have functions.

      The "Use Rovo Agent" action returns a text field-like value, as can be evidenced when clicking the "View available smart values" button on any Action that accepts a smart value and searching for "agentResponse". The in-product documentation there suggests functions like agentResponse.length() is an available function, among many others. Additionally, the Rovo Automations documentation suggests that agentResponse is a kind of "free text" that you can enter into any "free text field".

      However, logging smart values like agentResponse.length() always return blank/nothing. Seemingly, all text field functions applied to agentResponse return blank/nothing and the issue does not appear to be isolated to the log action.

      Steps to Reproduce

      1. Create a Jira Automation that is easy to trigger.
      2. Add a "Use Rovo Agent" and use a prompt like "Always output: 'hello world'"
      3. Add a "Log" action that logs the smart value "agentResponse.length()" (curly brace syntax omitted due to formatting issues)

      Expected Results

      The log action should output the appropriate number, 0 or greater (depends on Rovo Agent output)

      Actual Results

      Log outputs blank/empty

      Workaround

      Saving the agentResponse to a variable using the "Create Variable" action then allows text operators to work as expected

        1. automationrule.png
          automationrule.png
          155 kB
        2. inproductdocs.png
          inproductdocs.png
          250 kB
        3. output.png
          output.png
          217 kB

              Unassigned Unassigned
              tbrothers Tyler B [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: