Skip to content

Chemaclass/JiraStatusNotifier

Repository files navigation

Jira Status Notifier

Build Status 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: PHP >=8.0

  1. Fork and clone
  2. composer install

Composer scripts

composer test-all -> quality, phpunit
composer quality  -> csrun, psalm, phpstan
composer phpunit  -> test-unit, test-functional

See more in composer.json

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);