When I upload an application to local jira, jira shows error
```
Cannot install file https://f969-115-206-136-194.ngrok.io/atlassian-connect.json。Please check whether the file is valid
```
But I can upload it to Jira Cloud, and see the application
Hi @iPotato and welcome to the Community!
Jira Cloud and on Prem (server / data center) are different technologies. I am not sure what app you are trying to install, but if it is from the marketplace, make sure to download the version for the proper platform. It is not necessarily so that a server or data center version of a cloud app is available or vice versa.
Hope this helps!
I want to upload custom application by Jira Connect like
{
"name": "Hello World",
"description": "Atlassian Connect app",
"key": "xyz.example.myapp",
"baseUrl": "https://f969-115-206-136-194.ngrok.io",
"vendor": {
"name": "MyComp",
"url": "https://my.comp.com"
},
"authentication": {
"type": "none"
},
"apiVersion": 1,
"modules": {
"generalPages": [
{
"url": "/index.html",
"key": "index",
"location": "system.top.navigation.bar",
"name": {
"value": "Greeting"
}
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @iPotato,
connect is a development platform for cloud, as that tutorial page clearly states. It is not for server or data center. You mentioned in your initial question that the application loads perfectly fine on cloud but not on your local Jira.
Unless I have misunderstood what your local Jira is, it is perfectly normal that your cloud app doesn't work there. If you want to built an app for a data center product, you can get started here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Flow the tutorial, I create a project, but some dependencies cannot be parsed like
jta:jta:jar:1.0.1
webwork:pell-multipart-request:jar:1.31.0
I have tried to download them from mvnrepository , it shows 404
So which repository can I use?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I solved it by myself, open pom.xml:
1. Use atlassian maven
<repositories>
<repository>
<id>atlassian-maven</id>
<url>https://packages.atlassian.com/mvn/maven-external/</url>
</repository>
</repositories>
Check atlassian repository list here
2. Modify Jira version
<properties>
<jira.version>8.9.1</jira.version>
...
</properties>
3. Modify Jta version
<dependencies>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-api</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
<!-- exclude 1.0.1, it not exist in atlassian maven -->
<exclusions>
<exclusion>
<groupId>jta</groupId>
<artifactId>jta</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- include 1.0.1b -->
<dependency>
<groupId>jta</groupId>
<artifactId>jta</artifactId>
<version>1.0.1b</version>
</dependency>
...
<dependencies>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.