...
Expand | ||
---|---|---|
| ||
Node.js
|
Code Block |
---|
// This code sample uses the 'node-fetch' library:
// https://www.npmjs.com/package/node-fetch
const fetch = require('node-fetch');
fetch('http://{baseurl}/rest/agile/1.0/backlog/issue', {
method: 'POST',
headers: {
'Authorization': `Basic ${Buffer.from(
'email@example.com:<api_token>'
).toString('base64')}`,
'Content-Type': 'application/json'
}
})
.then(response => {
console.log(
`Response: ${response.status} ${response.statusText}`
);
return response.text();
})
.then(text => console.log(text))
.catch(err => console.error(err)); |
...
Atlassian's architecture documentation will help you understand Jira fundamentals and get a high-level perspective of Jira's dependencies.
...