Hello,
i'm using script runner for jira cloud and i would like to know is it possible to execute graphql queries with script runner.
do i need external libraries?
Thanks.
Hi Michael_S,
Thank you for your question.
I can confirm that you cannot import external libraries with ScriptRunner for Jira Cloud as we do not support this and you can only import the standard JAVA 8 SE classes and the libraries described in the documentation page located here.
I can however confirm that it is possible to write a script that would interact with an external application as long as the application contains a rest API which can be called to interact with it.
In order to do this,you should review the Rest API documentation for the external application in order to see what Rest API's you will need to use to achieve this and we would advise contacting the external applications support team, if you have any questions on how their third party API works.
We have a documentation example located here which shows how you can post a message to HipChat and this example may prove a useful reference in helping you to create the script that you require, as it shows an example of making an API call to an external rest API.
I hope this information helps.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.