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

prema r June 2, 2020

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

0 votes
prema r June 3, 2020

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

Suggest an answer

Log in or Sign up to answer