-
Notifications
You must be signed in to change notification settings - Fork 0
Update to new jira api #8
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
Conversation
... of deprecated JIRA APIs. https://developer.atlassian.com/changelog/#CHANGE-2046 The gouqi dependency was updated to a feature branch wunderfrucht/gouqi#110
The build_nix github action fails during the install-nix-action step, maybe the update will fix the build
Flake lock file updates:
• Updated input 'naersk':
'github:nix-community/naersk/3fb418eaf352498f6b6c30592e3beb63df42ef11' (2024-07-23)
→ 'github:nix-community/naersk/0e72363d0938b0208d6c646d10649164c43f4d64' (2025-07-16)
• Added input 'naersk/fenix':
'github:nix-community/fenix/bf0d6f70f4c9a9cf8845f992105652173f4b617f' (2025-07-14)
• Added input 'naersk/fenix/nixpkgs':
follows 'naersk/nixpkgs'
• Added input 'naersk/fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/591e3b7624be97e4443ea7b5542c191311aa141d' (2025-07-13)
• Updated input 'naersk/nixpkgs':
'path:/nix/store/ly4s3hw35dd1c2vsd694y2715pc1d2c1-source?lastModified=0&narHash=sha256-df3dJApLPhd11AlueuoN0Q4fHo/hagP75LlM5K1sz9g%3D' (1970-01-01)
→ 'github:NixOS/nixpkgs/be9e214982e20b8310878ac2baa063a961c1bdf6' (2025-07-09)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5083ec887760adfe12af64830a66807423a859a7' (2024-11-18)
→ 'github:NixOS/nixpkgs/aaff8c16d7fc04991cac6245bee1baa31f72b1e1' (2025-09-02)
TimurDaukaevMoonvision
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Command worked
| // tracing_subscriber::fmt() | ||
| // .with_max_level(tracing::Level::DEBUG) | ||
| // .with_target(false) | ||
| // .init(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left it in for future debugging needs.
JIRA removed the endpoint we used for searching for issues. The gouqi library thankfully already provides bindings to the new API under the same interface.
I switched to the new async interface of gouqi because I ran into some runtime errors when trying to use the newer version of the sync interface. I suspect those errors where caused by using the sync interface in an async context.
I switched to the new streaming interface of gouqi, which should deal with pagination in API results behind the scenes.
How to test
Set the environment variables
Or create the config file as explained here https://github.com/MoonVision/jira-tools?tab=readme-ov-file#config-file.
Run
cargo run -- 'sprint = "Wasat"' inside the checked out project folderornix run 'github:MoonVision/jira-tools?ref=update-to-new-jira-api' 'sprint = "Wasat"'Other JIRA Query Language queries should work as well if you want to count issues and story points for a different set.