REST call in scriptrunner to JIRA itself

Marc Minten _EVS_
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 Leaders.
June 3, 2020

I want to make a REST call to (an add-on of) Jira itself using scriptrunner (the add-on unfortunately does not have published a native java API).

How can I do this without hardcoding a user/pw in the script, but using the credentials of the currently logged in user.

Using scriptrunner I can do this easily to linked applications (like Confluence, Bitbucket, ..). But I can't find a way to execute the REST call to JIRA itself.

I tried to build an Application Link from Jira to itself, but this doesn't work neither (not allowed).

Seemed to be a very simple and stupid problem to me, but I can't find a decent solution.

1 answer

0 votes
Yusuf TAMBAG September 6, 2021

Unfortunately no solution bro, not possible, I designed my own solution :(

Marc Minten _EVS_
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 Leaders.
September 9, 2021

Hi, interesting! What is your solution ? How did you design it ?

Suggest an answer

Log in or Sign up to answer