Jira has updated their scopes and as a result, you will need to update the scopes for your existing Jira connector for Zilla as well. You can read about this here https://community.developer.atlassian.com/t/action-required-update-scopes-for-forge-and-oauth-2-0-3lo-apps/53299
Note: If you are creating the Jira Connector for Zilla for the first time, visit Jira and follow the steps outlined there.
Step-by-Step instructions to migrate Jira scopes
Navigate to https://developer.atlassian.com/console/myapps/
Click on the existing Jira Connector for Zilla which may look something like:
Then click on Permissions from the left hand side menu:
We want to make sure that we are only using the Jira API, and that the rest of the APIs (User Identity API, Confluence API and Personal data reporting API) are not used. To do this, follow these steps:
User Identity API - If the User Identity API has the Configure button against it, then click on Configure, otherwise if it says Add, then leave it as is and move on #b.
Once you click on Configure, you will see a page like this:
We need to make sure that there are no scopes enabled here. Click on Edit Scopes, deselect all scopes and Save.
Double check that all scopes are removed
Confluence API - If the Confluence API has the Configure button against it, then click on Configure, otherwise if it says Add, then leave it as is and move on to #c.
Once you click on Configure, you will see a page like this:
We need to make sure that there are no scopes enabled here. Click on Edit Scopes, deselect all scopes and Save.
Double check that all scopes are removed
Jira API - If the Jira API has the Configure button against it, then click on Configure, otherwise if it says Add, then click on Add and then click on Configure
Once you click on Configure, you will see a page like this:
We first need to make sure that none of the older scopes are enabled here. Click on Edit Scopes, deselect all scopes and Save.
You will be redirected back to Permissions page
Click on Add and then click on Configure again. You will now see the new Jira scopes
We need to make sure that only the required scopes are enabled here. Click on Edit Scopes, select the following scopes and Save (you can user the filters provided here):
View users:
read:user:jira
View application roles:
read:application-role:jira
View system and custom avatars:
read:avatar:jira
View user groups:
read:group:jira
Double check that only the required scopes are enabled
Personal Data Reporting API - If the Personal Data Reporting API has the Configure button against it, then click on Configure, otherwise if it says Add, then leave it as is
Once you click on Configure, you will see a page like this:
We need to make sure that there are no scopes enabled here. Click on Edit Scopes, deselect all scopes and Save.
Double check that all scopes are removed
Once all steps under #4 are correctly done, the Permissions page would look like this and should have no warnings
Next, go back to Zilla and disable the Jira integration and enable it again and Sync Now. You should see a consent screen like this wherein you will need to grant access to Zilla. Once you do, your Jira integration should starting working again.