Hello,
I am currently writing a Scriptrunner post-function that send data from the issue via an HTTP request to another service.
I have developped the script using the OkHttp library.
It is unfortunately not available in my client's Jira server/scriptrunner version (Scriptrunner v5.5.2 / Jira Server v7.13.2)
Is there a workaround. Either another library to use or a way to install okhttp3 on the instance?
A Jira upgrade is not currently planned, a upgrade to Jira DC is but will take place in too long therefore discarding this option on a short term.
Thanks.
I found this, seems like it is doing the job.
Native HTTP request by Groovy
Good
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use REST API to send the issue data. you can trigger it from post function.
Thanks,
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sachin Dhamale that is exactly my question, which rest api function/library to use?
I used okhttp3 to send the rest api request but it is not available on my environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Antoine [Klee Group] Refer this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.