go-jira / jira

simple jira command line client in Go
Apache License 2.0
2.67k stars 326 forks source link

jiraExec Template Function #412

Open pnovotnak opened 3 years ago

pnovotnak commented 3 years ago

This adds a jiraExec template function that executes a jira command and returns the result, logging an error if one is encountered. This is useful if you need to gather more data to render an issue or list. For example, for each item in a list of your issues, you want to parse any Github links in an issue description and change output based on CI or reviews.