There are no "clientInfo" settings in the store for tenant xxxxx

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 :slight_smile:

Have you installed the connect app in the Jira instance? That is necessary for the calls.

Are you using ACE straight out of the box and restarted it? Out of the box ACE uses :memory instead of :disk persistence so you’ll want to change that.

1 Like

thanks a lot, @danielwester now I’m able to execute the above API and get the data by using Postgres as persistence db.
Can you please guide me on how to get the Jira sprint data using this app design?