Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,942
Community Members
 
Community Events
168
Community Groups

Scriptrunner rest call example

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
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

179 views 1 6
Read article

Atlassian Community Events