Forums

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

Scriptrunner rest call example

Matthew Via
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 14, 2019

There are things not exposed via the Stash Java API (specifically default reviewers) that *are* accessible via the rest api.  I see how to make generic rest calls with the groovy scripting that Scriptrunner provides, but whats the best way to do it using authentication -- such as using the current user?  I don't want to hardcode passwords or service accounts into my Scriptrunner scripts if possible.

 

Are there any helpers in Scriptrunner to do this?  

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events