Hi, I’m new to Jira development, so please bear with me if my question sounds silly.
I’ve been watching tutorials that demonstrate the creation of a Connect app and communication with a Jira cloud instance using both Node.js and Java examples. However, I’m a bit confused about certain aspects.
- Is it necessary for the key to be a UUID with a maximum length of 64 characters, or can I use an example similar to the one mentioned in the tutorials just like
atlassian-connect-spring-boot-sample-thymeleaf
will do?
{
"key": "atlassian-connect-spring-boot-sample-thymeleaf",
"baseUrl": "${addon.base-url}",
"name": "Atlassian Connect Spring Boot Thymeleaf Sample",
"authentication": {
"type": "jwt"
},
"lifecycle": {
"installed": "/installed",
"uninstalled": "/uninstalled"
},
......
......
......
}
- How to install the app after my application is up and running?
When I read the tutorial of node.js
, there is a credentials.json
file that indicates the remote jira cloud instance
. And when they launch the application, the app got installed automatically. What should I do using spring boot
?
{
"hosts": {
"https://*******.atlassian.net": {
"product": "jira",
"username": "******@***.com",
"password": "*******"
}
}
}
- How the network traffic works?
I am asking this because our company has a site located in China, as well as some others in the US. It is crucial for us to ensure that all of our colleagues can access the Connect app. Once the Connect app is installed in my Jira instance, how the traffic flow during request processes? - Does the traffic flow as follows?
- Do the users’ requests go directly to my server, where the Spring Boot application runs, and my server then sends the response back to the users?
- Or does the request get sent to Jira, which in turn forwards it to my app, and my app sends the response back to Jira?
Thanks!