Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,526
Community Members
 
Community Events
168
Community Groups

I am trying to tag the username in description field from python code

For the description field in jira, I'm trying to tag user from python code. It always expects me to send string value. So when I'm trying to tag user like:

issue.update(fields={'description': "[~{}]".format(username)})

I'm getting an error saying: response text = {"errorMessages":[],"errors":{"description":"Operation value must be a string"}}

 

Is there away to tag the username in description field

1 answer

issue.update(fields={'description': "[~jirausername]"}) Worked for me.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events