jira icon indicating copy to clipboard operation
jira copied to clipboard

Add projectstatuses method to get project statuses (missing endpoint)

Open kayx23 opened this issue 3 years ago • 4 comments

Added projectstatuses method for /project/{projectIdOrKey}/statuses

Relevant issue: https://github.com/pycontribs/jira/issues/723

Atlassian Doc for this REST endpoint:

kayx23 avatar Dec 31 '21 04:12 kayx23

Apologize for the back and forth... Please review again. I realized I misunderstood what the endpoint returns when writing the test case. I thought it returns all statuses within a project, but it actually returns issue types with statuses within each issue type. I've made some revisions.

CI test for servers passed... cloud failed because Test Manager setUp failed. Was this expected?

kayx23 avatar Jan 17 '22 00:01 kayx23

CI test for servers passed... cloud failed because Test Manager setUp failed. Was this expected?

seems like this is for all PR's i hope @adehad will have the time to check... i'm not that knowledgeable with the cloud CI part.

seems like an ENV var isn't set. That part has been added pretty recent so maybe it still contains some edge cases

studioj avatar Jan 17 '22 16:01 studioj

Sorry yes regarding the Cloud CI, currently it doesn't play nicely with merge requests from forks (it doesn't pass the credentials properly even though we think we've set all the right settings to allow this!)

@studioj from my perspective if the Server tests pass that is good, then on our end we can raise a PR from a branch within this repo and we should be able to activate this test to run on Cloud with the @allow_on_cloud decorator, and hopefully we should see no problems and can merge it.

adehad avatar Jan 18 '22 00:01 adehad

It's a start😀 Better late than not and of course safety first

studioj avatar Jan 18 '22 00:01 studioj