Skip to content

Instantly share code, notes, and snippets.

@marzocchi
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marzocchi/14e88f678ef72e1c82c1 to your computer and use it in GitHub Desktop.
Save marzocchi/14e88f678ef72e1c82c1 to your computer and use it in GitHub Desktop.
Print the stuff I worked on this week, if it was updated by someone
#!/bin/sh
# Needs jira-cmd: https://github.com/germanrcuriel/jira-cmd
set -e
monday=$(date -v "-"$(date +"%u")"d" -v +1d +"%Y-%m-%d 00:00")
query="assignee was currentUser() AND updatedDate > '"$monday"'"
jira jql -- "$query"
echo Query: $query
unset query
unset monday
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment