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
Community Members
Community Events
Community Groups

Get a list of Scriptrunner Behaviours?

Using a Scriptrunner groovy script, I need to be able to get a list of all the Scriptrunner behaviours that are defined in my JIRA instance. And then for each Behaviour get the list of mappings.

I am an experienced Scriptrunner user but have not been able to find anything to point me in the right direction for this.

Any help is greatly appreciated!

1 answer

1 accepted

0 votes
Answer accepted
Tessa Tuteleers Community Leader Nov 17, 2021

Hi @John Jennings , 

I just came across this myself a few days ago, so happy to be able to share this today already. 

If you go to your Jira -> System info -> Application Properties, you will discover a map with all your behaviours, and each behaviour separately below that, where you can easily identify the mapping 9though it is based on id's so you might need to do some aPI calls on those ID's if you need the pretty names in your mapping. 

Hope this helps! 

- Tessa

perfect!  thank you very much

Like Tessa Tuteleers likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

115 views 0 9
Read article

Atlassian Community Events