Reputation: 65
I have a standalone JIRA instance running on my server. I have built a jira plugin using the atlas-mvn command and this has created a jar file.
Usual process is to login to standalone JIRA UI and deploy from UPM.
But is there a way I can deploy this plugin directly to the standalone instance using a command line or shell script.
Can anyone help me please ?
Upvotes: 3
Views: 851
Reputation: 1
you can try this:
atlas-install-plugin -p #port --server #host --context-path "" --username #adminusername --password #adminpassword
Example:
atlas-install-plugin -p 8080 --server localhost --context-path "" --username admin --password admin
Upvotes: 0
Reputation: 6889
I know the UPM has a REST API and you can browse it with the Developers Toolkit. I think its at /rest/1/plugins but is not clearly documented. You can reverse engineer it with Chrome, Inspect Element, Network while uploading a plugin. There's also https://developer.atlassian.com/static/javadoc/upm/api/2.1/reference/packages.html
Upvotes: 1