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,
Test Environment,
Deploying plugin,
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!!!)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can't I do this instead?
atlas-create-jira-plugin m !! Just once
Enter all my customisations to that instance, just once.
Then use
atlas-create-jira-plugin-module !! multiple times to create all my plugins
and finally
atlas-package and atlas-install plugin !! when required
I assume atlas-package will package every module!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Walter_Zambottiyes you can do that.
Till the time you execute 'atlas-clean' all your data will preserved in development instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, ran through those instructions (already) which resulted in a sandboxed environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.