Virtual Agent intent templates fail to generate training phrases: "We couldn't generate training phrases for this template" for templates that read from your data

XMLWordPrintable

    • 3
    • Severity 3 - Minor

      Issue Summary

      When using a suggested intent template "From your data"  in the JSM Virtual Agent, clicking on a template to create an intent fails to load training phrases. The UI displays:

      "We couldn't generate training phrases for this template. Enter training phrases manually, or try using this template later. Intent templates are refreshed every week."

      There is a GraphQL call (SidebarContentQuery) that internally invokes IssueSearchApi#searchForIssuesUsingJqlPost, which calls the now-removed POST /rest/api/3/search endpoint. This endpoint was fully deprecated and removed, returning HTTP 410 Gone.

                  "extensions": {
                      "errorSource": "UNDERLYING_SERVICE",
                      "statusCode": 410,
                      "errorType": "percept.jira.client",
                      "classification": "DataFetchingException"
                  }
      
      

      Steps to Reproduce

      1. Navigate to Project settings → Virtual service agent → Intents → Create intent.
      1. Templates are gonna open on the right. Select one with 'Your Data'.
      1. Observe the error banner: "We couldn't generate training phrases for this template."

      Expected Results

      Training phrases to be added based on your data.

      Actual Results

      Above

      Workaround

      There is no need for a workaround as it does not prevent you from creating an intent, but it renders the templates redundant.

              Assignee:
              Unassigned
              Reporter:
              Wesley Nery
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: