A scripts to automate task creation in Taiga project management tool.
These scripts help you create tasks in Taiga from the command line or from a bulk input file, with support for custom fields like Activity Date, Start Time, and Total Time Spent.
- Bash
- cURL
- JQ (JSON Query CLI)
- Taiga Account with API Access
- Clone the repository:
git clone https://github.com/donnitriosa/TaiCLI.git cd taicli - Make the scripts executable:
This grants execute permissions to all shell scripts in the directory.
chmod +x *.sh - Install JSON Query CLI
sudo apt-get -y install jq
- Create directories for logs and tasks:
mkdir -p logs tasks
- Create a .env file in the script directory with the following variables:
TAIGA_URL="https://your-taiga-domain.com"
TAIGA_USER="your_email_or_username"
TAIGA_PASSWORD="your_password"
PROJECT_SLUG="ABCD"
Replace the values with your actual Taiga credentials and IDs.
Create multiple tasks from a structured input file.
./taicli.sh tasks/task.txt
STORY_REF_ID
Task Subject | YYYY-MM-DD | HH:MM | Minutes
Another Task | YYYY-MM-DD | HH:MM | Minutes
- File should be in Unix format or using "LF" instead of "CRLF"
- First line: The ID of the user story where tasks will be created
- Following lines: Task data with fields separated by
|character:- Task subject
- Activity date (YYYY-MM-DD format)
- Start time (HH:MM format)
- Time spent (in minutes)
- Don't forget to add empty line in the buttom of file
All operations are logged in the logs directory:
error.log: Contains error messagescreated_tasks_YYYY-MM.log: Lists tasks created in a specific year and month
597462
Daily Standup Meeting | 2025-06-02 | 09:30 | 30
Code Review Session | 2025-06-02 | 14:00 | 120
Run With:
./taicli.sh tasks/task.txt