Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to assign issue using JIRA Rest API Python Edited

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

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

Mirek Community Leader May 26, 2021

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

0 votes
Mirek Community Leader May 19, 2021

HI @Ankit Bansal ,

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

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you