All Projects → dgroup → lazylead

dgroup / lazylead

Licence: MIT license
Eliminate the annoying work within ticketing systems (Jira, GitHub, Trello). Allows automating (without admin access) daily actions like tickets fields verification, email notifications by JQL/GQL, meeting requests to your (or teammates) calendar.

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to lazylead

cascade
A project management service with pure functional programming paradigm in the heart.
Stars: ✭ 21 (-50%)
Mutual labels:  trello, jira
Docker Airflow
Docker Apache Airflow
Stars: ✭ 3,375 (+7935.71%)
Mutual labels:  task, management
cheq
A command-line checklist app
Stars: ✭ 17 (-59.52%)
Mutual labels:  trello, task
xeo
A modern tool to bring SCRUM to Notion!
Stars: ✭ 26 (-38.1%)
Mutual labels:  trello, jira
Codestream
The Code Collaboration Tool Built for Remote Teams
Stars: ✭ 459 (+992.86%)
Mutual labels:  trello, jira
react-native-dnd-board
A drag and drop Kanban board for React Native.
Stars: ✭ 41 (-2.38%)
Mutual labels:  trello, task
ways-of-working
Ways of Working (WoW) with team principles, values, ground rules, aspirations, norms, working agreements, shared expectations, and group understandings
Stars: ✭ 527 (+1154.76%)
Mutual labels:  management, teamwork
tickety-tick
A browser extension that helps you name branches and write better commit messages
Stars: ✭ 55 (+30.95%)
Mutual labels:  trello, jira
final-class
🔒 Final classes for Python3!
Stars: ✭ 17 (-59.52%)
Mutual labels:  oop-principles
space-invaders
👾 Space Invaders 2d game with Ruby/Gosu
Stars: ✭ 16 (-61.9%)
Mutual labels:  ruby-gem
timer-hugo
Timer is a personal portfolio theme powered by Hugo. It also can be use as a landing page theme.
Stars: ✭ 123 (+192.86%)
Mutual labels:  mit-license
jira-select
JIra-select is a command-line tool and library that lets you run SQL-like queries against your Jira instance that are far beyond what Jira's built-in query language can provide.
Stars: ✭ 18 (-57.14%)
Mutual labels:  jira
Jira-Hot-Linker
Jira Hot Linker
Stars: ✭ 36 (-14.29%)
Mutual labels:  jira
ultimate-poll-bot
💡 The ultimate vote and poll bot for creating, sharing and evaluating polls inside of Telegram
Stars: ✭ 109 (+159.52%)
Mutual labels:  management
bleeding-rez
Rez - Reproducible software environments for Windows, Linux and MacOS
Stars: ✭ 57 (+35.71%)
Mutual labels:  management
ethereal-jekyll-theme
A Jekyll version of the "Ethereal" theme by HTML5 UP.
Stars: ✭ 13 (-69.05%)
Mutual labels:  ruby-gem
engineering-management
A list of resources about Software Engineering Management
Stars: ✭ 31 (-26.19%)
Mutual labels:  management
Streak-Tasks
Streak Tasks Habit Tracker
Stars: ✭ 27 (-35.71%)
Mutual labels:  task
has placeholder image
A Ruby gem for generating string based placeholder images in Rails.
Stars: ✭ 20 (-52.38%)
Mutual labels:  ruby-gem
AuroraCMS
The Australian Open Source Content Management System
Stars: ✭ 13 (-69.05%)
Mutual labels:  mit-license

Versions Gem Version Downloads Commit activity Hits-of-Code License: MIT

CI 0pdd Dependency Status Quality Gate Status codebeat badge Codacy Badge Maintainability codecov

Overview

Ticketing systems (Github, Jira, etc.) are strongly integrated into our processes and everyone understands their necessity. As soon as a developer becomes a lead/technical manager, he or she faces a set of routine tasks that are related to ticketing work. On large projects this becomes a problem, more and more you spend time running around on dashboards and tickets, looking for incorrect deviations in tickets and performing routine tasks instead of solving technical problems.

The idea of automatic management is not new, but large companies/projects are not ready yet for such a decisive breakthrough and need step-by-step solutions such as lazylead. I think you remember how static code analysis treated at in the past; today we have a huge toolkit (pmd, checkstyle, qulice, rubocop, peon, etc) for each language that allows you to avoid routine issues and remove from the code reviewer the unnecessary load. The same logic we can apply to our day-to-day ticket management activities - let's reduce or even remove unnecessary routine actions.

Join our telegram chat lazylead for discussions.

Legend:

  • 🚴🏽 in-progress
  • planned
  • implemented
  • 🌵 implemented, but not tested
  • not supported/planned
Daily annoying task Jira Github Trello SVN Git
Notify ticket's assignee
Notify ticket's reporter
Notify ticket's manager
Notify about illegal "Fix Version" modification
Expected comment in ticket is missing
Propagate some fields from parent ticket into sub-tasks
Evaluate the ticket formatting accuracy
Print the current capacity of team into newly created tasks
Create/retrofit the defect automatically into latest release
Notify about expired(ing) due dates
Notify about absent original estimations
Notify about 'Hot potato' tickets
Notify about long live tickets (aging)
Create a meeting(s) automatically in case some tickets appeared (group by assignee/reporters/component/ticket type/etc)
Propogate fields from parent tickets to sub-tasks
Notify about tickets without comments with expected text
Notify about team loading (no tasks on teammates)
Notify about tickets matches predefined multiple conditions
Link automatically the ticket and Confluence page if link found in ticket's comments/description
Notify about tickets assigned to your team members not by effective managers
Notify about modifications of important files in VCS 🚴
Notify about diff changes for past X period in VCS 🚴
Notify about changes with some text for past X period in VCS 🚴
Notify when someone outside of your team changed the due date on tickets for your team
Notify when someone outside of your team assigned a ticket directly to the developer
Integration Type Status
Microsoft Exchange Server Emails
Microsoft Exchange Server Calendar
mail.yandex.com Emails
mail.google.com Emails 🌵
calendar.google.com Calendar
slack.com Notifications
GitHub VCS + CI/CD
GitLab VCS + CI/CD
BitBucket VCS + CI/CD

New ideas, bugs, suggestions or questions are welcome via GitHub issues!

Get started

⚠️ We're still in a very early alpha version, the API may change frequently until we release version 1.0.

Let's assume that:

  • your team is using jira as a ticketing system
  • you defined a jira filter with tickets where actions need. The filter id is 555 and it has JQL like
    project=XXXX and type=Bug and status not in (Closed, Cancelled, "Ready For Testing", "On Hold) 
     and parent = YYYY and duedate < startOfDay()
    
  • you have MS Exchange server for email notifications
  • you want to notify your developers during working days at 8am (UTC) time about tickets where due dates are expired

For simplicity, we are using docker-compose:

  1. Define yml file with configuration tasks.yml

    version: '2.3'
    services:
    
      lazylead:
        image: dgroup/lazylead:latest
        container_name: lazylead
        mem_limit: 128m
        environment:
          # The jira server details.
          # Please ensure that your jira filter(s) grants this user to see issues.
          # Sometimes jira filter(s) may be created with restricted visibility, thus
          #  lazylead can't find the issues. 
          jira_url: https://your.jira.com
          jira_user: theuser
          jira_password: thepass
          # The MS Exchange server details, please ensure that '/ews/Exchange.asm` 
          #  will be after your server url. Just change the url to your server.
          exchange_url: https://your.ms.exchange.server/ews/Exchange.asmx
          exchange_user: theuser
          exchange_password: the password
        volumes:
          - ./:/lazylead/db
        # db/ll.db is sqlite file with jira related annoying tasks
        entrypoint: bin/lazylead --sqlite db/ll.db --trace --verbose

    or just download the project using git

    git clone https://github.com/dgroup/lazylead.git ll && cd ll
  2. Create a container, using docker-compose -f .github/tasks.yml up The container will stop as there were no tasks provided:

    ll > docker-compose -f .github/tasks.yml up                                                         
    Creating lazylead ... done
    Attaching to lazylead
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Version: 0.5.0
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Memory footprint at start is 52MB
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Database: '/lazylead/db/ll.db', sql migration dir: '/lazylead/upgrades/sqlite'
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Migration applied to /lazylead/db/ll.db from /lazylead/upgrades/sqlite
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Database connection established
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] SMTP connection established with {host} as {user}.
    lazylead    | [2020-08-09T06:17:32] WARN  [main] ll-001: No tasks found.
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Memory footprint at the end is 67MB
    lazylead exited with code 0
    ll > 
  3. Define your team and tasks in database. Yes, there are no UI yet, but its planned. Pull requests are welcome! The tables structure defined here. Modify you sqlite file(ll.db) using DB Browser or any similar tool. Please change the <youremail.com> to your email address in order to be in CC when developer get the notification:

    insert into teams (id, name, properties) 
               values (1, 'Dream team with lazylead', '{}');
    insert into systems(id, properties)    
               values (1,'{"type":"Lazylead::Jira", "username":"${jira_user}", "password":"${jira_password}", "site":"${jira_url}", "context_path":""}');
    insert into tasks  (name, schedule, enabled, id, system, team_id, action, properties)
               values ('Expired due dates', 
                       'cron:0 8 * * 1-5', 
                       'true',
                       1, 1, 1, 
                       'Lazylead::Task::AssigneeAlert',
                       '{"sql":"filter=555", "cc":"<youremail.com>", "subject":"[LL] Expired due dates", "template":"lib/messages/due_date_expired.erb", "postman":"Lazylead::Exchange"}');
    

    Yes, for task scheduling we are using cron here, but you may use other scheduling types from rufus-scheduler.

  4. Once you changed ./ll.db, please restart the container using docker-compose -f .github/tasks.yml restart

    ll > docker-compose -f .github/tasks.yml restart
    Restarting lazylead ... done

    check the logs and stop container if needed

    ll > docker logs lazylead
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Version: 0.5.0
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Memory footprint at start is 52MB
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Database: '/lazylead/db/ll.db', sql migration dir: '/lazylead/upgrades/sqlite'
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Migration applied to /lazylead/db/ll.db from /lazylead/upgrades/sqlite
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Database connection established
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] SMTP connection established with {host} as {user}.
    lazylead    | [2020-08-09T06:17:32] DEBUG [main] Task scheduled: id='1', name='Expired due dates', cron='0 8 * * 1-5', system='1', action='Lazylead::Task::AssigneeAlert', team_id='1', description='', enabled='true', properties='{"sql":"filter=555", "cc":"[email protected]", "subject":"[LL] Expired due dates", "template":"lib/messages/due_date_expired.erb", "postman":"Lazylead::Exchange"}'
    ...

How to contribute?

Buy Me A Coffee

Pull requests are welcome! Don't forget to add your name to contribution section and run this, beforehand:

rake -A

Everyone interacting in this project’s codebases, issue trackers, chat rooms is expected to follow the code of conduct.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].