I am currently developing a JIRA Cloud Connect App. I created a private listing in the market place and installed it via the Upload URL I got from the private listings tab. Now I had to update the atlassian-connect.json file and therefore had to update the plugin in my JIRA instance as well. Now I get the following error:
The app "......." could not be installed as a local app as it has previously been installed from Atlassian Marketplace.
The link looks like the following: https://marketplace.atlassian.com/files/1.0.2-AC/artifact/descriptor/.........../atlassian-connect.json. This is a market place link and should not be a problem. I also tried to install it via a direct link to the atlassian-connect.json fille, which did not work either (as intended).
What can I do to get around this? I also uninstalled the plugin (since I though this was the problem) and now I cannot install it again. So any help is appreciated. Thanks in advance!
Interestingly I have an actual testinstance, where I installed my plugin the same way without any issues. Also upgraded my plugin, uninstalled it - you name it. Can't get my head around this. I did a workaround, where I created a file called `atlassian-connect.staging.json` where I set the baseUrl to my staging Server. This works. Unfortunately I hat to disable licensing and therefore I cannot test this anymore. Fortunately this was tested long ago. I hope this is a way for you too.
Were you able to create another private listing in the market place with this approach? I recall that I got an error stating that the server url is being used by another plugin (or some kind of that). So changing the application key was not sufficient. I also had to change the server url (which was not doable, since it was a domain I just bought for this plugin).
What I did was the following:
* Create a new file `atlassian-connect.staging.json` and serve it statically
* Override app key and disable licensing in said staging file (otherwise I was not able to use it, since I did not want to create a listing in the marketplace and therefore was not able to create a token to set lic to active)
* Install the same plugin (essentially the same base url) with a new app key using atlassian-connect.staging.json
Not sure if it is a suitable way for you to go. For me it worked just fine. The only thing that is not possible anymore is to test licensing behaviour, which is fine for me. Hope this helps.
Atlassian replied that you can't reinstall a private listing after uninstalling it and referred me to this article:
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
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