Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using GraphQL API: Get all installed plugins in jira cloud instance

Duyen Nguyen February 15, 2024 edited

Hello [Community/Support Team],

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:

Res:
{

    "data": {

        "extensionContexts": [

            {

                "extensionsByType": [],

                "installations": {

                    "nodes": [],

                    "pageInfo": {

                        "endCursor": null,

                        "hasNextPage": false

                    }

                }

            }

        ]

    },

    "extensions": {

        "gateway": {

            "request_id": "f5c1815eacaf4304991a87ea041bfa5f",

            "crossRegion": false,

            "edgeCrossRegion": false,

            "deprecatedFieldsUsed": [

                "ExtensionContext.installations : Use `appInstallationsByApp` or `appInstallationsByContext` queries instead (extensionContexts/installations)"

            ]

        }

    }

}

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.

Thank you in advance for your assistance!


Ref:

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events