Granting an external script scope

James January 5, 2021

Hello,

Not sure if this is the right place to post this, I've searched through the open threads but cant find anything similar to the below. I am working on trying to setup a process in where my team can automatically create Jira tickets via a python script using the Jira api but appear to be having an OAuth problem when it comes to creating new tickets on particular Jira boards. At the moment, my script can create Jira tickets on sprint type Jira boards successfully but when we try and create a new ticket on a kanban style board, we get the following error:

{

"errorMessages": [

"Scope: Scope is required."

],

"errors": {}

}

We are using Jira cloud and even when the user that is running the script is granted admin access, we still encounter the above error. My question is whether it is possible to and if so, how can we grant scope to a script in Jira cloud? Thanks.

1 answer

0 votes
mogavenasan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2021

Hi @James,

I believe you are using OAuth 2.0 (3LO), if yes, then you will need to specify the Scope of the app as stated in Scopes for Connect and OAuth 2.0 (3LO) apps.

I hope that this helps.

Thanks,
Moga 

Suggest an answer

Log in or Sign up to answer