Skip to content

Cannot properly assign to person #1284

@ZionDeng

Description

@ZionDeng

Bug summary

I am using jira==3.0.1 python package, but I cannot properly assign my created ticket to the person I want.
My server is: https://issues.teslamotors.com/

But when I am trying to assign this ticket to him, I got the error
error

I am sure that the assignee name is xins, but jira wants to assignee to xinhe

Similar issue goes to soyoujianxins, but leidxu, lifachen, fjin, elliu can be properly assigned.

I think there are some bug in the assign logic, the add watcher function has no similar bugs. I can properly add watchers.

Is there an existing issue for this?

  • I have searched the existing issues

Jira Instance type

Jira Cloud (Hosted by Atlassian)

Jira instance version

No response

jira-python version

3.0.1

Python Interpreter version

3.8

Which operating systems have you used?

  • Linux
  • macOS
  • Windows

Reproduction steps

jira : JIRA = JIRA('https://issues.teslamotors.com/', {user}, {password})
issue: Issue = jira.create_issue(
    project = "ACE",
    summary = "VVV.EEE TEST Jira Ticket #COA",
    description = "TEST Jira Ticket for Vendor VVV engineer EEE",
    issuetype = {"name": "Task"},
    components = task["components"]
    components = [],
)
jira.assign_issue(issue.id, 'xins')

Stack trace

![error](https://user-images.githubusercontent.com/47084312/151302613-5ca27bbf-a3de-4e0f-9389-42879d0b90ff.png)

Expected behaviour

Properly assign to the right person

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions