-
-
Notifications
You must be signed in to change notification settings - Fork 249
feat: Add option to output issue creation result as Json #775
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
Hi @sebbbastien, thank you for the PR and sorry for late response. Could you pls update |
@ankitpokhrel, it's done. |
Hi, |
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.
Works great! Thank you. And sorry again for late response!
I think that's a fair ask given that the tool is mostly being used in CI/CD pipeline. I'll see what can be done. Contributions are always welcome :) |
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [ankitpokhrel/jira-cli](https://github.com/ankitpokhrel/jira-cli) | minor | `v1.5.2` -> `v1.6.0` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>ankitpokhrel/jira-cli (ankitpokhrel/jira-cli)</summary> ### [`v1.6.0`](https://github.com/ankitpokhrel/jira-cli/releases/tag/v1.6.0) [Compare Source](ankitpokhrel/jira-cli@v1.5.2...v1.6.0) This release comes with some fixes and features like JSON-formatted issue‑creation output, multi‑string replacements in issue clone, internal JSD comments, etc. #### 🥷 What's added? - feat: Respect API token for `mtls` auth by [@​LucasZanellaMBTI](https://github.com/LucasZanellaMBTI) in ankitpokhrel/jira-cli#783 - feat: Add option to output issue creation result as Json by [@​sebbbastien](https://github.com/sebbbastien) in ankitpokhrel/jira-cli#775 - feat: Allow multiple replace strings in issue clone command by [@​AdamSaleh](https://github.com/AdamSaleh) in ankitpokhrel/jira-cli#811 - feat: Allow adding internal comment on JSD by [@​dynek](https://github.com/dynek) in ankitpokhrel/jira-cli#825 - feat: Add easy issue search to list cmd by [@​wbh1](https://github.com/wbh1) in ankitpokhrel/jira-cli#769 #### 🐞 What's fixed? - fix: Case-insensitive sub-task comparison by [@​tiemma](https://github.com/tiemma) in ankitpokhrel/jira-cli#793 - fix: use `tview.Escape` with standard square brackets by [@​rpadaki](https://github.com/rpadaki) in ankitpokhrel/jira-cli#828, ankitpokhrel/jira-cli#839 #### ☕️ Other changes - Add shell completion to brew install; closes [#​651](ankitpokhrel/jira-cli#651) by [@​MarkIannucci](https://github.com/MarkIannucci) in ankitpokhrel/jira-cli#795 - Update golang.org/x/net package to version 0.33.0 by [@​sanjushahgupta](https://github.com/sanjushahgupta) in ankitpokhrel/jira-cli#806 - Fix lint issues by [@​sanjushahgupta](https://github.com/sanjushahgupta) in ankitpokhrel/jira-cli#808 - chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 by [@​dependabot](https://github.com/dependabot) in ankitpokhrel/jira-cli#831 - chore(deps): Upgrade spinner, glamour, go-keyring and related deps by [@​ankitpokhrel](https://github.com/ankitpokhrel) in ankitpokhrel/jira-cli#833 - chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 by [@​dependabot](https://github.com/dependabot) in ankitpokhrel/jira-cli#838 #### New Contributors - [@​sanjushahgupta](https://github.com/sanjushahgupta) made their first contribution in ankitpokhrel/jira-cli#806 - [@​tiemma](https://github.com/tiemma) made their first contribution in ankitpokhrel/jira-cli#793 - [@​LucasZanellaMBTI](https://github.com/LucasZanellaMBTI) made their first contribution in ankitpokhrel/jira-cli#783 - [@​rpadaki](https://github.com/rpadaki) made their first contribution in ankitpokhrel/jira-cli#828 - [@​sebbbastien](https://github.com/sebbbastien) made their first contribution in ankitpokhrel/jira-cli#775 - [@​AdamSaleh](https://github.com/AdamSaleh) made their first contribution in ankitpokhrel/jira-cli#811 - [@​dynek](https://github.com/dynek) made their first contribution in ankitpokhrel/jira-cli#825 - [@​MarkIannucci](https://github.com/MarkIannucci) made their first contribution in ankitpokhrel/jira-cli#795 - [@​wbh1](https://github.com/wbh1) made their first contribution in ankitpokhrel/jira-cli#769 **Full Changelog**: ankitpokhrel/jira-cli@v1.5.2...v1.6.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNTMuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI1My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
To be able to use
jira-cli
in an automation context, issue creation output should be in JSON.I don't know if
--json
is a good choice, as--raw
is already used for issue view. Maybe I have to change--json
to--raw
.