All Apps and Add-ons

Add-on for JIRA: After user was granted additional permissions to see more projects, I no longer get anything back using the jira command

briancronrath
Contributor

I was able to get the command to return data up until today when the permissions were changed for the user we use to access our jira api. All that was done was to add access to additional projects, and now I can't get anything to return with the jira command. When I run a curl against the rest API endpoints using the same user I get data back just fine. Any ideas on what might be broken just by adding more projects available to the user?

0 Karma
1 Solution

briancronrath
Contributor

I figured it out. Opening up permissions actually caused objects to show in the calls that had their json structure not include certain keys that the jira_rest python script it assigning. To resolve, I needed to add in if statements to make sure the key existed in the objects as they are iterated through.

View solution in original post

0 Karma

briancronrath
Contributor

I figured it out. Opening up permissions actually caused objects to show in the calls that had their json structure not include certain keys that the jira_rest python script it assigning. To resolve, I needed to add in if statements to make sure the key existed in the objects as they are iterated through.

View solution in original post

0 Karma

briancronrath
Contributor

I should also note that after reverting the permissions it still doesn't work, so it's almost as if it triggered something. I still get everything back fine if I issue direct Rest commands w/ the user, stumped as to why the app no longer returns any data.

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!