Use Case:
In our company we have different areas that work across JIRA tasks and Confluence.
Sometime we need to set around 20 tasks for a common target. This tasks are for example to get up and running some customizations from our customers.
In the example that i'm going to use we need:
- [1] Epic Task
- [4-5] Main Tasks for the different areas
- [4-5] Sub-tasks from each main task
- Relate the task to labels
- Relate the tasks between them
- Attach links (Zendesk, Confluence, docs, etc)
This actions at this moment are executed by one person, but sometimes you forget to do a task, or may be creation the relations between tasks (blocks, relates to). With this we avoid human mistakes, we set the structure and then the script auto-generates all the tasks.
diegonalvarez / jira-workflow-tasks
Jira workflow tasks
JIRA Workflow tasks
This project allows to you create a workflow template to build tasks in Jira. You only need to set the specifications in multiples YML files, and then the script will generate the tasks and their relationships accordingly the YML configuration.
Requirements
This project uses two libraries:
This libraries are already loaded with composer
Getting Started
To get started it's necessary set some environment variables. You need to copy the .env.example
file as .env file.
Here set the JIRA properties:
JIRA_HOST="https://your-jira.host.com"
JIRA_USER="jira-username"
JIRA_PASS="jira-password-OR-api-token"
Installing
Firts install composer to get the libraries installed.
composer install
Now it's necessary set the templates
Templates
The project already becomes with a example template. The templates are stored in the folder templates.
Template Folder
To get a project working you can copy and paste the structure of templates/example
or create your own
First create a folder inside …
So with this we can set many templates in the projects folder and run automated workflows.
Top comments (0)