Cloud Jira Rest API

Hello All,

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 ?

Thanks,
Gajanan

Hi @xyz. Welcome to the developer community!

You may select classic permissions only for your OAuth2 app. You do not need to have both classic and granular.

1 Like

@nmansilla thanks for confirming. I will update it accordingly and confirm

Hi,

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.