Adding a YUM repo to zypper, install fails with file not found on medium - File is there

I want to install atlassian-plugin-sdk on an openSUSE laptop, atlassian only provide yum/deb install methods, there is a yum repo, and I found a post online which tells me I can add a yum repo to zypper using the following:

zypper ar -t YUM http://sdkrepo.atlassian.com/atlassian-sdk-stable.repo

This appears to work fine, but then when I try to install with zypper:

zypper in atlassian-plugin-sdk
File './sdk-installer-5.1.9.rpm' not found on medium 'http://sdkrepo.atlassian.com/rpm-stable'

If I visit that page the file is there, I can then wget it and install via rpm. Is the method I’m using incorrect? Or is it some issue with the repo?

Atlassian appears to not have created a YUM repo, your link interestingly only points to a gpgkeys source to enable authentication, but that file is missing info like the actual location of the YUM repo so IMO it’s worthless.

Looking a bit further, it’s not hard to find the Atlassian RPM files, but again… there is no YUM repo metadata file.

Looking a bit even it looks like Atlassian doesn’t want to create a YUM repo for you (or they don’t know how to do it), they want you to download the files to your own machine and set up a repo.
https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/install-the-atlassian-sdk-on-a-linux-or-mac-system

So, OK.
You can download all the files from the following location to a folder in your system or a Server in your network
http://sdkrepo.atlassian.com/rpm-stable/

But let’s try something else… Let’s see if we can point to Atlassian’s repo location even if they don’t seem to officially support it. I did the following which works…

zypper ar https://sdkrepo.atlassian.com/rpm-stable/ Atlassian_repo

Note that in the above unlike your try I’m not pointing to the gpg file (which doesn’t contain info about the repo location) and I gave the repo a name.

Now you can refresh your repos, interestingly although the gpgkeys check is enabled possibly because the Atlassian repo location does not include a metadata file a check cannot be made, but will proceed without error.

zypper ref

And now you can search the repo using ordinary zypper and YAST tools, so for instance the following should return the most current version

zypper se atlassian

TSU

Wow, thanks for that detailed response! That does indeed work rotfl!

Gah, spoke too soon, I still get this error when installing even though I can find the software package using search:

File ‘./sdk-installer-5.1.9.rpm’ not found on medium ‘https://sdkrepo.atlassian.com/rpm-stable/

Thanks regardless, as this method let me install the hipchat4 repo on openSUSE:

zypper ar https://atlassian.artifactoryonline.com/atlassian/hipchat-yum-client/ Atlassian_Hipchat4_repo

This works fine and allows me to install the hipchat4 client available here.