You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
custom-commands:
- name: sprint-informationhelp: show information of the active sprint for projectscript: | board_id=$({{jira}} req "/rest/agile/1.0/board?projectKeyOrId=$JIRA_PROJECT" --gjq values.0.id) {{jira}} req "/rest/agile/1.0/board/$board_id/sprint?state=active" --gjq values.0
When executing jira sprint-information I get the following output:
The table template is very specific to the list results. It will not apply generically to any results. I am actually surprised -t table works at all, I would expect it to just abort when the structure does not match the expected format. The default template is request which really is just a json dump:
{{ . | toJson}}
We dont have a generic way to print tabular data, but I will see if anything comes to mind when when I get to looking into #176 .
I've got the following custom command:
When executing
jira sprint-information
I get the following output:I would expect that when slamming
--template table
onto it I'd get the json displayed as a nice table.That's not the case though. I'm still getting the normal JSON printed out. Is there any special configuration I need to do?
The text was updated successfully, but these errors were encountered: