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.

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
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...