go-jira
go-jira copied to clipboard
[bug] jira.SearchOptions {MaxResults: 100}, but it does not work, it still returns 50 by default
this problem appeared after commit 19d3fc0..., this problem occurred when I used the latest code. It should be a bug, not a feature.
Hey @younglifestyle,
do you have a piece of sample code that we can reproduce this issue?
jql := fmt.Sprintf("project = \"%s\"", projectName)
options := &jira.SearchOptions{MaxResults: 1000}
issues, _, err := client.Issue.Search(jql, options)
if err != nil {
fmt.Printf("search %s project error %v", projectName, err)
continue
}
This issue has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
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!