Last active
August 29, 2015 14:24
-
-
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
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
#!/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