Wanted to see if there were any updates to this topic in June of 2018.
I found this link that gives some instructions on how to install a plugin via the UPM API, and had a question (for context, I'm trying to see if I can install a custom Jira plugin):
After obtaining the UPM token, the instructions say to make a POST request, where the "pluginUri" property is set to "the hosted location of your descriptor file." What are the limitations to this pluginUri property? Does it have to be on the same host machine as the running Jira instance? Or can the URI point to a separate machine (ie, our Artifactory instance, or a Github repo)?
For any people who find this question in the future: the "pluginUri" parameter should point to a URL/location that responds with the plugin .jar to GET requests.
This URL is passed into the UPM plugin for it to download and install.
See https://github.com/JCVI-VIRIFX/SampleTracking/tree/master/JiraPlugins, for I used this to try and reverse-engineer the API internals.
Hi!
Yiwei, let's use the method
https://github.com/AstroMatt/atlassian-python-api/blob/master/atlassian/jira.py#L329
Also, you can install throw pip our library.
Cheers,
Gonchik Tsymzhitov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Gonchik Tsymzhitov, thanks for linking that.
I actually ended up writing my own wrapper around the UPM API after playing around with it and realizing how to use it, but the script you linked is super handy as a reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.