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

How to automatically upload/deploy jira custom plugins into Jira instance ?

Ramesh Udari1
Contributor
September 15, 2020

Hi All,

I hope all are safe and staying at home.

My name is Ramesh Udari and I am working with GlobalLogic Pvt Ltd.

We have build custom jira plugin (type -2) and deploying this plugin manually  by uploading JAR file into JIRA through Manage apps--> upload app. But it is cumbersome to upload jar file manually to JIRA every time when we have changes to plugin. To overcome this issue, we are looking to automate deployment process, so, anyone has any suggestion how to achieve this ?

We are using Git Lab for source repository and CI/CD purpose.

Our aim to automate build process end to end, like build,test and deploy automatically if there are any changes to plugin.

 

And, also have another query, is it possible to build custom plugin with "Update" plugin option like third-parry plugins which are purchased from marketplace(we do not want to register plugin with marketplace).

Thanks in advance and your response is highly appreciated.

Regards.

Monika

1 comment

Comment

Log in or Sign up to comment
Dibyandu Roy
Contributor
September 15, 2020

Here go through these article to deploy the plugin with artifactory. You can modify the code to deploy it from a custom repository(it could be a simple file share or a web base access of the files).

https://community.atlassian.com/t5/Jira-articles/Automating-UPM-using-API-s-PART-1/ba-p/1367368

https://community.atlassian.com/t5/Jira-articles/Automating-UPM-using-API-s-PART-2/ba-p/1367369

 

now about update the existing plugins from custom marketplace:

Jira uses universal plugin manager plugin to manage the plugins in a jira instance.

Build your own custom Plugin Manager Plugin, which can search for plugin from your custom repositories and deploy them. 

https://docs.atlassian.com/software/jira/docs/api/8.12.1/com/atlassian/jira/plugin/JiraPluginManager.html 

TAGS
AUG Leaders

Atlassian Community Events