-
-
Notifications
You must be signed in to change notification settings - Fork 878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JIRA.my_permissions() needs a new required permissions
parameter
#879
Comments
How come this wasn't solved yet? I have this issue for like 2 months since Jira decided to introduce this breaking change,.. |
Guys come on, It's been 2 years since this was raised. It's a rather simple fix and yet it's not part of the any new release. |
@rena2damas this package is fully maintained by volunteers who spend some of their precious free time to refactor/extend or to fix issues they encounter themselves or see fit to take up. This all to improve the general usability of this useful python hook into the Jira RESTApi. Please be respectful to those who donate their spare time. You can encourage people to have a look at your specific problem but do that in a friendly manner. Thank you! |
Hi @studioj I'm sorry about my tone . I didn't meant it to be disrespectful. I appreciate the effort and this project is very useful to the community reason why I find strange that a breaking change was left unfixed for a while. But well, if PRs are being accepted then I can help with this one. Thank you and sorry again , looking back I know my approach wasn't the right one . |
No worries, quite a lot of time and effort was spent getting the CI system up and running (and is still being spent) Trying to get this package to adhere to latest development standards, making it easier for contributors to contribute AND making it more user friendly for end users is the main priority. If we then feel like doing more and have spare time left we try to look for issues we can fix (of course those who we encounter ourselves or we feel confident to fix without causing regressions will get priority). I hope your experience opening a PR is pleasant, although there is still a lot of work to do. (do know a year back it was just plainly not possible to fix an issue and release it without knowing you'd cause a lot of regressions which is why releases were not happening properly for a time) |
Right , I will give a go with the PR while complying with the PR guidelines. I have also put some effort into CI within my projects and interestingly enough also moving to latest tools like |
That could be nice. @adehad is having the best overall view on the CI system... So changes for sure will need his approval :-) As a software tester I encourage you to add a test which validates your fix. Looking forward to your contribution |
For sure not, I think the CI in this project is more advanced and complex than mine , I didn't mean to suggest that I have any meaningful contribution to do there . I'll stick with the API fix only for now :) and yes I'll ensure the tests cover any changes made . I'll also take a look at the framework being done there. I saw a containerized jira server being started which suggests some integration test suite running on each commit stage , which if that is the case, it's a really interesting approach ;) |
@rena2damas feel free to reach out if anything is unclear, the tests can be quite overwhelming, we've tried to improve the approachability, but completely understand if it is daunting. On a separate note, I can strongly recommend looking into: https://github.com/pypa/hatch if you are also considering |
PR #1472 created for this: cloud tests are failing due to a known error on the TestManager component |
Awesome, don't worry about the cloud tests for now, it is related to the sharing of secrets that doesn't work for pull requests. I'll see if I can test those and then get back to you |
Ah ok , is that so ? I did add some tests that are specific to cloud but I had to use my own cloud credentials to evaluate what is the expected behaviour on a cloud environment. As for the tests, I can tell you in advance that I had to separate test classes into |
…ithub.com:rena2damas/jira into fix/pycontribs#879-my_permissions-needs-new-param
Describe the bug
/mypermissions endpoint requires list of permissions in latest API version, see https://developer.atlassian.com/cloud/jira/platform/change-notice-get-my-permissions-requires-permissions-query-parameter/
To Reproduce
Steps to reproduce the behavior:
Call the
JIRA.my_permissions()
methodor
No Error for (if permission names exist)
Possible fix:
should get a new required parameter "permissions".
Expected behavior
Return permissions data
Stack Trace
The text was updated successfully, but these errors were encountered: