[Feature request] Return issue id after creation #163

Closed
opened 2025-01-09 09:48:38 +01:00 by nicoco · 1 comment

Maybe I did not understand how, but when I create an issue with berg I have no way of knowing the ID of the newly created issue. This would be very useful IMHO. Just writing the issue id or the issue URL to stdout sounds would be great.

Maybe I did not understand how, but when I create an issue with `berg` I have no way of knowing the ID of the newly created issue. This would be very useful IMHO. Just writing the issue id or the issue URL to stdout sounds would be great.
Owner

This should now be possible through the structured output, see #227

You can run berg --output-mode json <action> to get json output on stdout. For your use case, you can just combine this with jq to access the desired fields.

Thanks for the issue! Let me know if that is not satisfying enough yet. Closing this for now.

This should now be possible through the structured output, see #227 You can run `berg --output-mode json <action>` to get json output on stdout. For your use case, you can just combine this with `jq` to access the desired fields. Thanks for the issue! Let me know if that is not satisfying enough yet. Closing this for now.
Aviac closed this issue 2025-09-15 20:58:44 +02:00
Sign in to join this conversation.
No description provided.