Sankar
August 20, 2019, 10:08am
1
Hi,
I’m new to jira development. I want to create an app in jira which have few fields like name, date, time, etc. when user submitted the form I want save those details in my server using endpoint.
I checked REST API calls those are related to access things(issues, projects, users…) within jira.
How can I achieve my requirement. Can someone guide me or suggest any reference docs.
Regards,
Sankar.
Are you on cloud or server? For a start you should check out the respective getting started guide.
Getting started (Server)
Getting started (Cloud)
1 Like
Sankar
August 22, 2019, 8:21am
3
Hi Schatter,
Thx for reply. I started with cloud. As mentioned in ref link followed steps and created sample hello world app. While accessing that getting 500 error. Please help me.!
err_image
Sorry, never seen this error before. What are the exact steps to produce this error?
Sankar
August 22, 2019, 10:27am
5
Created ‘atlassian-connect.json’ and ‘helloworld.html’ files and hsted it in my server.
From Jira settings > Apps > Manage apps uploaded ‘atlassian-connect.json’ file. Get message as successfully installed.
In left sidebar ‘Greeting’ menu appeard. When click on it getting 500 error.
Expected output is “Hello world” but i’m getting error.
Log reference: 7d913472-92b0-43b9-b0bf-429466d7625c
Hi @Sankar ,
Are you able to go around this issue?
Cheers,
Anne
Hi @Sankar ,
Good to know! Can you please share with us what was the solution? So it can help other developers as well.
Thanks!
Cheers,
Anne
Sankar
September 12, 2019, 12:33pm
9
Hi Anne,
The format of atlassioan-connect.json is wrong.
My config file is
{
“scopes”:[
“read”,
“write”,
“act_as_user”
],
“vendor”: {
“name”: “My APP”,
“url”: “https://mywebsite.com ”
},
“description”:“This is my description”,
“key”:“testing.io.jira”,
“lifecycle”:{
“uninstalled”:“/jira/home.html”,
“installed”:“/jira/home.html”
},
“name”:“My APP”,
“modules”:{
“configurePage”:{
“url”:“/jira/home.html”,
“name”:{
“value”:“Configure”
},
“key”:“configure-home”
},
“generalPages”: [
{
“url”: “/jira/home.html”,
“key”: “hello-world”,
“location”: “system.top.navigation.bar”,
“name”: {
“value”: “My APP”
}
}
]
},
“baseUrl”:“https://mywebsite.com ”,
“apiVersion”:1,
“authentication”:{
“type”:“jwt”
},
“apiMigrations”:{
“gdpr”:true
}
}