Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira plugin development in local env

KL Kumar
Contributor
August 29, 2018

Hi All,

I am implementing a plugin to Jira (Server) in my local environment. For this I installed Jira SDK and able to implement the plugin by creating the modules.

The development environment has required vendor plugins (Ex: ScriptRunner) installed in it and also has multiple issueTypes, workflows, confiurations, etc.. But the local Jira instance is a fresh application and will not have all the vendor plugins, workflows, issuetypes and configurations.

So the problem is, I am not able to test my functionalities in my local environment because my testing requires the vendor plugins. Whenever I do a change in the plugin in my local, I have to make a jar of it and deploy in Dev environment and test it. This way I am loosing lot of time.

So I am thinking, can we have a copy of Dev environment and put it in local environment for testing? May be by using Docker images...?

Your suggestions are highly appreciated..

 

Thanks!

Kumar

2 answers

2 votes
Nir Haimov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 29, 2018 edited

You can create backup xml file from your DEV env, and upload that xml to your LOCAL env (as restore from backup).

But you LOCAL env may move slow after, depends on your PC and how many data you bring from the DEV env

1 vote
Alexey Matveev
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.
August 29, 2018

Hello,

You can use dockers. Here is my article about dockers:

https://community.atlassian.com/t5/Jira-articles/How-to-run-Jira-in-a-docker-container/ba-p/752697

Or you could add the required plugins to the target/jira/home/plugins/installed pluigins direcotry and restore a backup to your developing environement. After it you can develop your plugin. Just do not make atlas-mvn clean or something like this to delete your target folder.

Suggest an answer

Log in or Sign up to answer