Hi,
Getting error There are no "clientInfo" settings in the store for tenant xxxxx
while calling Jira API.
I’ve installed the Jira connect app using this documentation https://bitbucket.org/atlassian/atlassian-connect-express/src/master/
and have my client key and accountId.
Code:
app.get(‘/test’, (req, res) => {
var httpClient = addon.httpClient({
clientKey: ‘xxxxxxxxxxxxxxxxxx’
});
httpClient.get('/rest/api/latest/myself', function (err, res, body) {
console.log("res1: ", res);
res.status(204).send();
});
httpClient.asUserByAccountId("xxxxxxxxxxxxxxxxxx").get('/rest/api/latest/myself', function (err, res, body) {
console.log("res2: ", res);
res.status(204).send();
});
});
None of the above calls are working
Adding SS
Finally, I’ve to get sprint data using Jira Connect App but I’m stuck at this step. any help is highly appreciated.
Thanks