I am using Python and JIRA API to change a status from To Do to In Progress.
The problem I am facing is that the transitioner is set to me because I am using my credentials. Is there a way to change the user to asignee?
I am using the below code in Python.
Hi,
Welcome to the community.
No you can't, what you can do with the API is what you can do using the UI. So unless you change the account the transitioner will be you in this case.
So i don't know your use case but it sound like a bad practice.
Okay, thank you.
The use case is that we are updating the transition of status from python using the API. But the updates are coming out in my name.
The reporter gets an email stating that I transitioned the status to something ("resolved" for example)
I was wondering if there was a way to make the transition to be the assignee.
But anyway, thank you for your answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In this case, you could create a generic account, something like "jira_admin" that you will use in your python script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sughosh Kulkarni I am also trying to do the same. In my case I am trying to change the transition of the issue from backlog to resolved as part of testing but I couldn't do it there is an error stating as below. any help would be highly appreciated. Thanks
response text = {"errorMessages":["It seems that you have tried to perform a workflow operation (Resolve Issue) that is not valid for the current state of this issue (TOOLSENG-3701). The likely cause is that somebody has changed the issue recently, please look at the issue history for details."],"errors":{}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the quick reply I have used the same code but I am getting the error as mentioned above and not able to change the issue status. I have checked the status its still showing as Backlog only not updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would confirm if the transitions are connected between status and working as expected.
Here is a similar issue with a resolution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would confirm if the transitions are connected between status and working as expected.
I didn't understand the above part. IS the error occurring because the issue is still in the 'Backlog' and not in the active status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There might be issues with the transition between the two statuses. Delete the transition and create another one. Then maybe it will work fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.