We have developed a Jira client app in development console and based on API usage we allowed permissions in classic and granular. WE have crossed more than 5o permission and In Development console We get a warning not to use more than 50 permissions. My question is As per cloud Jira rest API documentation can we have only classic permissions only? Or we need to keep both classic and granular ?
I was testing audit log API (/rest/api/2/auditing/record) for the above mentioned approach. I just gave classic permission in the app manage:jira-configuration when I generate the token first time then it works and I am using refresh token to generate subsequent access token for every 15 mins interval. I am noticing after 30 mins lapsed generating first access token I get 401 error unauthorized scope. Not sure after 30 mins generating the very first access token what is going wrong.