Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

App properties API always returns 404

Edited
D Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Nov 20, 2023

I started a new project using `atlas-connect`. Got it running with ngrok, page loads fine in jira cloud. I just can't get or save app properties.

atlassian-connect.json

{

"key": "my-app",

"name": "my-app",

"description": "my-app",

"baseUrl": "{{localBaseUrl}}",

"authentication": {

"type": "jwt"

},

"lifecycle": {

"installed": "/installed"

},

"scopes": [

"READ",

"WRITE",

"ADMIN"

],

"apiMigrations":{

"signed-install": true

},

"modules": {

"jiraProjectPages": [

{

"url": "/my-page/${project.id}",

"iconURL": "/my-icon.svg",

"weight": 100,

"name": {

"value": "My App"

},

"key": "my-app-project-page"

}

]

}

}

my-page.hbs

...
<script>
...
// GET CONFIGURATION

const getConfiguration = async () => {

return await AP.request({

url: '/rest/atlassian-connect/1/addons/my-app/properties',

type: 'GET',

})

.then((data) => {

return JSON.parse(data.body);

})

.catch((error) => {

AP.flag.create({ title: 'Error getting configuration', body: error.message, type: 'error' });

})

}
...
</script>
...

result from calling `https://<myinstance>.atlassian.net/rest/atlassian-connect/1/addons/my-app/properties` or when trying to use a PUT request to create a new property:

{
status-code: 404,
message: "App with key does not exist."
}

What gives?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events