Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PropertySet in ScriptRunner for Jira Cloud Edited

Is there way to use PropertySet in ScriptRunner for Jira Cloud?

I'd like to store some properties related to the Script Listeners in the DB so I'm curious is there anything in Jira Cloud that is similar to PropertySet and can be used in Script Listeners?

I'm aware of Entity Properties I'm looking into something that is not dependent on any Jira object (issue, project, etc), something like PropertySet does. 

 

Cheers, Artem.

2 answers

1 accepted

1 vote
Answer accepted

Hi Artem,

Thank you for your question.

I can confirm that ScriptRunner for Jira Cloud does not currently provide the functionality to store items in the database as Atlassian do not allow access to the database on cloud instances.

The reason for that is that the cloud version can only make changes to Jira via the Atlassian Rest API's as cloud does not have a Java API like the server version does. Also no rest API exists for storing items in the database.

This is described in more detail in the documentation page located here.

This means that you will need to use entity properties and to store the properties against a Jira objects such as an issue or a project.

If this answer has solved your issue can you please accept it in order to mark this answer as correct for users who are searching for a similar issue.

Regards,

Kristian

 

Hi Krisitian,

yes, we ended up using Entity Properties to store some data in the DB.
The problem is that we should always have an object in Jira to store data against it. It means if lets say project was deleted all the associated data would be deleted as well.

Unlike  PropertySet,  which allows to store data independently in properties db table.

 

Anyway, thank you, Kristian, for your prompt response!

Hi Artem,

Thank you for voting up this answer.

If you find this answer correct can you please accept it so that it is marked as correct and users searching for a similar issue can see that this a correct answer.

Regards,

Kristian

Yes, sure thing. :)

 Cheers,
Artem.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

All you wanted to know about customer support KPIs

When working in customer support, it’s crucial to calculate, analyze and monitor specific numbers, called KPIs (Key Performance Indicators). They go hand-in-hand with customer satisfaction, problem d...

6 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you