How to programmatically get the Authorization code without the user approval in OAuth 2.0

@OjaseEmmanuval,

You cannot. As the title of the documentation indicates, the Atlassian OAuth 2 implementation only implements “3LO”, formally known as the client authorization flow, which requires human intervention.

OAuth 2 specifies the client credentials flow for this scenario, but Atlassian hasn’t implemented it. Please watch, vote, and comment on:

https://jira.atlassian.com/browse/OAUTH20-176