Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to assign issue using JIRA Rest API Python

Ankit Bansal May 19, 2021
jira.assign_issue(key, assignee)

Seems to be failing with the following error

User 'JIRAUSER<id>' does not exist

Although, navigating to https://<jira_host>/rest/api/2/user?username=<username> 
has the correct user id "JIRAUSER<id>"

 

Other methods like creating an issue, transitioning the issue, etc. all work fine.

Python package version: jira==3.0.1

2 answers

1 accepted

0 votes
Answer accepted
Ankit Bansal May 26, 2021

Turns out this was a bug in the jira Python library  (v3.0.1) 

Mirek
Community Champion
May 26, 2021

Good to know. Thank you @Ankit Bansal for letting everyone know.

0 votes
Mirek
Community Champion
May 19, 2021

HI @Ankit Bansal ,

Just to be sure.. Is that specific user having assign permission?

Ankit Bansal May 20, 2021

Hi @Mirek ,

Yes the user has the assign permission, I am able to assign the issue to the user through the JIRA UI, just not through the jira python client which invokes the Rest API. Also, this is not for one specific user, but multiple users.

Suggest an answer

Log in or Sign up to answer