README.md in pivotoolz-2.3.0 vs README.md in pivotoolz-2.4.0

- old
+ new

@@ -154,9 +154,32 @@ ![usage](assets/stories-deployed-demo.gif) Use with `post-slack-message` to post a message in a slack deployment channel with the list of stories that just got deployed. +For a slack-compatible formatted message, add the `--json` flag. + +There are additional formatting flags if you want to see the name of the person who completed a story in the slack formatted message: +`--owners` - Show name of person who completed the story as part of the message + +`--owners-footer` - Show name of person who completed the story as a footer (requires `--owners` flag) + +`--bold-owners` - Show name of person who completed the story in bold text (requires `--owners` flag) + +### `jira-stories-deployed` + +Similar to `stories-deployed`, but for Jira! Now you can use your favourite development workflow accelerator, even if your +current team uses Jira! + +Simply define the following environment variables, and you're ready to go! + +``` +export JIRA_API_BASIC_AUTH_BASE64_ENCODED=BASE_64_ENCODED_username:password # See https://developer.atlassian.com/server/jira/platform/basic-authentication/ +export JIRA_API_BASE_URL=https://YOUR_ORG.atlassian.net/rest/api/3/issue/ +export STORY_ID_REGEX=YOUR_STORY_ID_PATTERN_REGEX # Falls back to [[:alpha:]]+-\d+ if not set +``` +Use `jira-stories-deployed` just as you would `stories-deployed`. + ### `post-slack-message` Post a message to a slack channel. You will need to [setup a webhook integration](https://api.slack.com/incoming-webhooks) on slack first. Once you have done so, copy your Webhook URL into