Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,560,601
Community Members
 
Community Events
185
Community Groups

Where is the scriptrunner API documentation

I want to port my growing number of behaviours, script fields, listeners and post functions from inline scripts to script files that I can version and copy around between my environments.

My problem is that I can't find a description of the classes or interfaces that I need to extend or use for all the different script types.

For behaviours I use

public class myBehaviour extends FieldBehaviours{ def run() {...} }

What are my options for the other script types?

 

Thanks

/anders

2 answers

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 06, 2021

Hi @Anders J. Truelsen

The latest ScriptRunner documentation is available at https://docs.adaptavist.com/sr4js/latest

For sample scripts, you can also visit the Adaptavist Library at https://library.adaptavist.com

I hope this helps to answer your question. :)

Thank you and Kind Regards,

Ram

Hi Ram

 

Thanks for the reply.

I was hoping for something more specific. 

I've been through both the old and new adaptvist.com page numerous times without finding the list of interfaces I can extend.

I found my behaviour example in the library, which is indeed a valuable source for examples and ideas, but again, I cannot find the interfaces.

What I'm looking for is a coherent description of all the available interfaces with their respective methods and variable bindings.

This would enable me to take scriptrunner to the next level.

 

Thanks

/Anders

Like Jakub Cieplinski likes this

I wonder if you’re looking for something like this:

https://docs.atlassian.com/software/jira/docs/api/7.6.1/index.html?overview-summary.html

this is the library of objects/methods you can access on the Jira REST API.

kind regards,

Claudia

Hi Claudia

 

Thanks for your input.

No, I was specifically looking for the scriptrunner API.

 

/anders

Noam Twena
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!
May 16, 2023 • edited

Have you find it @Anders J. Truelsen ?

I'm looking for it too..

 

Where do I find docs for this interface for example?

com.onresolve.scriptrunner.runner.ScriptRunnerImpl

Suggest an answer

Log in or Sign up to answer