Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Storing initialization database data and deploying it within the plugin jar file?

Martin Fischer March 11, 2021 edited

Hello, 

we've created a Jira plugin and now we would like to deploy it. There's no problem with installing this new clear plugin and using it in another Jira server instance. But we would like to deploy it with already "pre-installed" data. Is there a right way how to paste this database data to the plugin .jar file? Or is there another possible way how to achieve anything like this? Or the only way is to have some init file prepared which would be "hard-coded" and run it on the first pass?

Would be really glad for any idea.

1 answer

1 accepted

1 vote
Answer accepted
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
March 11, 2021

Hi @Martin Fischer , I would use Active Objects Upgrade tasks. You can find some documentation here:

https://developer.atlassian.com/server/framework/atlassian-sdk/handling-ao-upgrade-tasks/

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events