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,558,662
Community Members
 
Community Events
184
Community Groups

Where can I find the IDs/Keys in the database for Scriptrunner objects?

I am trying to build a way to give some advanced metrics for the scriptrunner objects we use (scripted fields, listeners, etc) based on the information scriptrunner stores in the database.  I see some data in the database tables, including the runtime stats, but I can't find some critical details.  In the run result table, the key is obviously for each of the objects, but I can't find where that key maps to an object.  In particular, I can't find where the behaviors, listeners and scripted field keys are stored.  I only see fragments, jobs and resources in one of the other AO tables.

2 answers

1 accepted

3 votes
Answer accepted
Peter-Dave Sheehan
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 27, 2021

Most of the other configs are in jira application properties stored as json strings.

You can retrieve them from the db using SQL:

Select
e.PROPERTY_KEY,
t.propertyvalue As Text,
s.propertyvalue As String
From
propertyentry e Left Join
propertytext t On e.ID = t.ID Left Join
propertystring s On e.ID = s.ID
Where
(e.PROPERTY_KEY Like 'com.onresolve%' Or
e.PROPERTY_KEY Like '%Behaviour%')

Thanks.  This is the starting point I needed to pull together the data.

0 votes
Andre Serrano
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 28, 2021

Hi Corey,

I'm Andre Serrano, ScriptRunner Product Manager I'm interested in understanding more about your metrics. What kind of metrics are you trying to get and why?
We in SR are focusing on a similar initiative so there might be some overlap.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events