I am currently trying to create a Amazon Q Business application with the data source of Jira to be able to search through issues, ask any questions on ongoing projects etc.
I used the following to set my Q Business data source for Jira up and running:
- https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/jira-prereqs.html
- https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/jira-credentials-basic.html
My data source successfully connects but it is not able to scan any items due to this error:
An exception has occurred while fetching issue entity information , Error: [410 Gone] during [GET] to [https://companyJira-admin.atlassian.net/rest/api/3/search?jql=updated%3E%3D0&startAt=0&maxResults=50&fields=%2Aall&expand=all] [IssueSearchApi#searchForIssuesUsingJql(String,Integer,Integer,String,List,String,List,Boolean)]: [{"errorMessages":["The requested API has been removed. Please use the newer, enhanced search-based API instead. Deprecation details are available at https://developer.atlassian.com/changelog/#CHANGE-2046."],"errors":{}}]
I generated the api token through an account with admin access, I understand it says that my Q Business Application is attempting to query through a deprecated API, I am just not sure how I can make it query through the new API endpoints. Does this have to due with me giving the incorrect scope to the API token? If so, which scopes should I be giving the API for it to properly search.