atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

object Jira.issue_transition('key-123','151') - getting Exception has occurred: TypeError issue_transition() missing 1 required positional argument: 'status'

Open SANDOSHV01 opened this issue 3 years ago • 1 comments

I have 2 issue with this function.

1)I think it could be a documentation error on https://atlassian-python-api.readthedocs.io/jira.html#manage-issues, The sample provide was transition_issue() instead of issue_transition(), please confirm. 2) using this issue_transition() with parameter getting Exception has occurred: TypeError issue_transition() missing 1 required positional argument: 'status'

Kindly suggest, the usage syntax for issue_transition() along with some samples.

image

SANDOSHV01 avatar Feb 03 '22 19:02 SANDOSHV01

Please read the docs carefully. You first have to create a Jira instance and on this instance you call the methods.

Spacetown avatar Feb 03 '22 19:02 Spacetown