creacoon/laravel-dashboard-jira-tile

Jira tile for spatie/laravel-dashboard

1.0.3 2021-09-10 09:15 UTC

This package is auto-updated.

Last update: 2024-04-10 14:41:59 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This tile shows all the in progress Jira stories. It shows the story key, story title and the assignee profile image.

This tile can be used on the Laravel Dashboard.

Screenshots

jira-tile.png

Installation

  1. Require package via composer
  2. Place the required values in the .env file.
  3. Place the tile component in your dashboard.
  4. Schedule the command in the app/console/kernel.php

Composer

You can install the package via composer:

composer require creacoon/laravel-dashboard-jira-tile

Env file

Place this in the .env file.

JIRA_HOST=
JIRA_AUTHENTICATION="basic_token"
JIRA_USER=
JIRA_API_TOKEN=

Tile component

In your dashboard view you use the livewire:jira-tile component.

<x-dashboard>
    <livewire:jira-tile position="a2" refresh-interval="60"/>
</x-dashboard>

Schedule command

In app\Console\Kernel.php you should schedule the following commands.

protected function schedule(Schedule $schedule)
{
    // ...
           $schedule->command(FetchDataFromJiraCommand::class)->everyFiveMinutes();
}

Customizing the view

If you want to customize the view used to render this tile, run this command:

php artisan vendor:publish --tag="dashboard-jira-tile-views"

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email support@creacoon.nl instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.