I have worked through a number of the Jira Server SDK tutorials and kind of get the picture.
The tutorials however all appear to have sandboxed environments which contain their own sample Jira Server installation.
This is fine for tutorial purposes but eventually linking the SDK to a development copy of the production Jira Server would be the intention!
Is there a guide on how to install the SDK against an already installed instance of Jira Server (say a development copy of the production server)?
@Walter Zambottithere are couple of things you need to do to achieve this,
What I do for in house non environment agnostic plugins,
>Develop plugin to the stage where it is independent of my environment and other plugins
When you say "independent development environment" do you mean a clean environment created with : atlas-create-jira-plugin? (Which means basically follow the tutorial then use atlas-package and atlas-install plugin to get the plugin where you need it!!!)
By clean environment I mean, using atlas-run, this run development Jira instance with no data. You need to fill data in this. But developer loop is faster here.
For example if you are creating a Custom Field plugin that is going to aggregate and values from other plugin custom field.
That's the specific situation I was trying to avoid. Having to replicate all the necessary customisations in the sandbox environment for every single plugin has so far proven tedious. So I was hoping I could create one custom test DB and have the atlas-create-jira-plugin link/reference that test DB.
If that cant be accomplished then it's "Hello Jira, welcome to tedious SDK"
It must be possible!!!!
Can't I do this instead?
atlas-create-jira-plugin m !! Just once
Enter all my customisations to that instance, just once.
atlas-create-jira-plugin-module !! multiple times to create all my plugins
atlas-package and atlas-install plugin !! when required
I assume atlas-package will package every module!
Once you have the copy of your production instance you would just install the SDK per the normal instructions found here: https://developer.atlassian.com/server/framework/atlassian-sdk/set-up-the-atlassian-plugin-sdk-and-build-a-project/ (Install the Atlassian SDK on a (Windows) or (Linux or Mac) system) This would then allow you to develop on that server.
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