-
-
Save tomaszwostal/4e9a050278744e98921c2f025855544c to your computer and use it in GitHub Desktop.
How to add Jira tasks to taskwarrior and open browser from command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add to .taskrc | |
#New UDA jira | |
uda.jira.type=string | |
uda.jira.label=Jira | |
#Add the new UDA to any existing or new report, i.e. to the next report | |
report.next.columns=id,start.age,entry.age,depends,priority,project,tags,recur,scheduled.countdown,due.remaining,until.remaining,jira,description,urgency | |
report.next.labels=ID,Active,Age,Deps,P,Project,Tag,Recur,S,Due,Until,Jira,Description,Urg | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add to .zshrc to open the jira on the browser | |
export JIRA_URL='http://jira.blah.com/browse/' | |
export OPEN_BROWSER=#cygstart for cygwin, open for macos, xdg-open or other for Linux | |
function jira(){ | |
$OPEN_BROWSER $JIRA_URL`task _get "$1".jira` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment