Installed, Logged in via API, Projects and Statuses aren't populated.
I’ve check using the api link in my browser and it works as expected, so does checking the statues available. Everything from the API seems to be working.
I’ve also used some of your npm scripts posted through other issues to test. And they work as expected there as well
Test
node << 'EOF'
const fs = require('fs');
const AJ = require('./lib/jira');
const configPath = `${process.env.HOME}/.alfred-jira/config.json`;
let config = require(configPath);
let disabled = config.options.available_projects.filter(s => !s.enabled).map(s => s.name);
AJ.getProjects().then(projects => {
projects.map(s => { s.enabled = !disabled.includes(s.name); return s });
config.options.available_projects = projects;
console.log(JSON.stringify(projects));
fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
});
EOF ╰─ node << 'EOF' ─╯
const fs = require('fs');
const AJ = require('./lib/jira');
const configPath = `${process.env.HOME}/.alfred-jira/config.json`;
let config = require(configPath);
let disabled = config.options.available_projects.filter(s => !s.enabled).map(s => s.name);
AJ.getProjects().then(projects => {
projects.map(s => { s.enabled = !disabled.includes(s.name); return s });
config.options.available_projects = projects;
console.log(JSON.stringify(projects));
fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
});
EOF
(node:35225) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
[]
Update
It appears that the even though I provided my unique URI I forgot to add my full email
Installed, Logged in via API, Projects and Statuses aren't populated.
I’ve check using the api link in my browser and it works as expected, so does checking the statues available. Everything from the API seems to be working.
I’ve also used some of your npm scripts posted through other issues to test. And they work as expected there as well
Test
Update
It appears that the even though I provided my unique URI I forgot to add my full email