go-jira
go-jira copied to clipboard
No query options for GetIssuesForSprint
Describe the bug
GetIssuesForSprint
and GetIssueWithContext
are missing query options.
It prevents lot of useful filtering, like issue assignee, reported, etc..
To Reproduce
Just try to filter issues by assignee or other filter
Expected behavior
I would expect GetIssuesForSprint
get a query options like others functions
Possible Solution
Add query options to the function
Your Environment
- go-jira version (git tag or sha): v1.13.0
- Go version (
go version
): 1.15
Additional context
I'm trying to filter issues by assignee to create a custom board and I find myself needs to do it by code instead if using the filtering Jira is providing by it's API.
Hi! Thank you for taking the time to create your first issue! Really cool to see you here for the first time. Please give us a bit of time to review it.
Hey @oriser, thanks for the issue. Would you mind adding an example source code to reproduce the problem?
And are you using an on-premise version of JIRA or the cloud version?
Hi @andygrunwald , Thanks for your quick response!
I just opened a PR that adding the missing options, will be glad for your review.
I'm using cloud version of JIRA, the thing is, that as documented in JIRA API (https://developer.atlassian.com/cloud/jira/software/rest/api-group-sprint/#api-agile-1-0-sprint-sprintid-issue-get)
The GetIssuesForSprint
function is able to get some filtering arguments that simply does not supported by your library.
Hey,
I am very sorry that this issue has been open for a long time with no final solution. We work on this project in our spare time, and sometimes, other priorities take over. This is the typical open source dilemma.
However, there is news: We are kicking off v2 of this library 🚀
To provide visibility, we created the Road to v2 Milestone and calling for your feedback in https://github.com/andygrunwald/go-jira/issues/489
The development will take some time; however, I hope you can benefit from the changes. If you seek priority development for your issue + you like to sponsor it, please contact me.
What does this mean for my issue?
We will work on this issue indirectly. This means that during the development phase, we aim to tackle it. Maybe in a different way like it is currently handled. Please understand that this will take a while because we are running this in our spare time.
Final words
Thanks for using this library. If there is anything else you would like to tell us, let us know!