I hope this message finds you well. I am currently working with a Jira extension and have encountered a deprecated warning related to the use of ExtensionContext.installations in my GraphQL queries. The warning suggests utilizing appInstallationsByApp or appInstallationsByContext queries instead.
Below is a snippet of the GraphQL query and the associated warning:
I have been trying to find documentation or instructions on how to implement the recommended alternatives (appInstallationsByApp or appInstallationsByContext), but unfortunately, I couldn’t locate any relevant information.
Could you kindly confirm if these alternative methods are still functional, and if so, provide guidance or documentation on how to use them? Alternatively, if there are other approaches or best practices I should consider for fetching information about installed apps, I would greatly appreciate your advice.
@DuyenNguyen , how did you call this query ? I was able to get data by using Graphql Explorer. But calling it from the forge code by api.asUser().requestGraph gave me an error Auth category: THIRD_PARTY_OAUTH is not allowed in service cs_apps. Any suggestions what can be wrong ?