Automation for Jira: Unable to reauthorise Github connection
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Automation for Jira fails to retrieve information from GitHub
![Error message received](https://images.ctfassets.net/zsv3d0ugroxu/7pjkjmlDFuKRs26QLP7gbM/86f82a19f71b955a69fce1d7e4712011/Screenshot_2023-04-21_at_3.52.26_PM.png)
Diagnosis
Automation for Jira can connect to your Github instance in order to execute certain conditions i.e if an issue transitions to "In progress" state then create a branch in Github, There are scenarios when automation fails to retrieve information from GitHub and you cannot reauthorize Automation for Jira on your Github.
Cause
Connections can fail due to multiple reasons such as Jira access was revoked from Github
Solution
You will need to revoke the connection from your Jira account, by visiting https://id.atlassian.com/manage-profile/apps and revoke the GitHub connection.
![Remove app authorization prompt](https://images.ctfassets.net/zsv3d0ugroxu/7tAYluOU2Zpxhqv2b4PMmX/08b0dc72c6a83aaa295be74fa6a45ecc/Screenshot_2023-04-21_at_3.47.23_PM.png)
Go back to the automation rule to connect Github with Atlassian Automation.
![Create branch in Github](https://images.ctfassets.net/zsv3d0ugroxu/5ghYHTB683s7as04wby1gZ/35fc4d2db6c72f7ab3de9c06fecdb753/Screenshot_2023-04-21_at_3.47.54_PM.png)
Authorize the access
![Authorize the access](https://images.ctfassets.net/zsv3d0ugroxu/7lTgVSWGEYOEoSLAN5lDzO/9351f8a57b9f704662810389ef4d17a2/Screenshot_2023-04-21_at_3.48.04_PM.png)
Was this helpful?