/JiraStatusNotifier

Notify via Slack|Email when the JIRA-tickets doesn't move along

Primary LanguagePHPOtherNOASSERTION

Jira Status Notifier

Build Status Scrutinizer Code Quality Code Coverage MIT Software License Minimum PHP Version

This tool will notify the person assigned a JIRA-ticket if the ticket remains in the same status for more than N days.

Installation as vendor

Using composer: composer require chemaclass/jira-status-notifier

Development and contribution

Requirements

Your first try!

  1. Clone/Fork the project and cd inside the repository
  2. docker-compose up
  3. docker exec -ti -u dev jira_status_notifier_php bash
  4. cd examples/using-cli-channel
  5. cp .env.dist .env
  6. Update the .env values
  7. php console

Composer scripts

composer test      # execute phpunit tests
composer csfix     # run php-cs-fixer fix
composer psalm     # display psalm errors
composer psalm-log # generate a file with psalm suggestions

Documentation

  • Using Slack as notification channel
  • Using Email as notification channel
  • Using Cli to render the tickets for each assignee without notifying anybody

Basic Example

$facade = new JiraStatusNotifierFacade();

$result = $facade->handle([
    CliChannel::class,
    SlackChannel::class,
    EmailChannel::class,
]);

$facade->renderOutput($result);