Forums

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

[Scriptrunner/Server] OkHttp not available

Antoine _Klee Group_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 15, 2023

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.

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 11, 2015

You've pretty much answered your own question - create a new screen, use it in a new screen scheme, and then set up the issue type screen scheme to say "for parent issue, use old screen scheme, and for subtasks, use the new one"

0 votes
Bill Schenck
August 12, 2015

Thanks...I knew I was close, but you gave me the missing piece about the new issue type screen. Now it looks like I wanted. Thanks again.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events