Get a list of Scriptrunner Behaviours?

John Jennings November 17, 2021

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 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

John Jennings November 17, 2021

perfect!  thank you very much

Like Tessa Tuteleers likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events