-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
Component/s: Virtual Agent - Intent Discovery
-
None
-
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
- Navigate to Project settings → Virtual service agent → Intents → Create intent.
- Templates are gonna open on the right. Select one with 'Your Data'.
- 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.