Forums

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

Will usernames continue to work in custom python scripts?

Jason Sole June 6, 2019

We have a custom python program that handles some unique workflows we have in Jira. It uses the Python Rest API to retrieve usernames in order to modify assignees and watchers of tickets.

Per this article, usernames are no longer supported in the REST api as of May 1, 2019: https://confluence.atlassian.com/cloudkb/user-installed-apps-fail-on-broken-user-reference-in-jira-confluence-bitbucket-969526118.html

However, the python program we are running is still operational, and when I test the REST API, it is still returning usernames (for example, using the jira.group_members() method). We are using the 2.0.0 version of the Python API running on Python 2.7.

Does anyone know what the plan is for the Python API?  

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
February 11, 2021

So it's the same as Rest api :( as it's wrapper

Jason Sole February 11, 2021

I ended up having to monkey patch the python API to make it work. Deployment requires me to pip install everything, and then overwrite client.py with my own version. Not very elegant, but it kept our stuff running.

Like Gonchik Tsymzhitov likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events