App::TimeTracker::Command::Jira - App::TimeTracker Jira plugin
version 0.8
This plugin integrates into Atlassian Jira https://www.atlassian.com/software/jira.
It can set the description and tags of the current task based on data coming from Jira, set the owner of the ticket and update the worklog. If you also use the Git plugin, this plugin will generate branch names based on Jira ticket information.
Git
Add Jira to the list of plugins.
Jira
add a hash named jira, containing the following keys:
jira
The URL of the Jira instance (without a trailing slash).
Username to connect with.
Password to connect with. Beware: This is stored in clear text! Better use authentication via Config::Identity via JIRA::REST where the credentials can be stored GPG encrypted.
Config::Identity
JIRA::REST
If set, an entry will be created in the ticket's work log
none
~/perl/Your-Project$ tracker start --jira ABC-1
If --jira is set to a valid ticket identifier:
--jira
set or append the ticket subject in the task description ("Adding more cruft")
add the ticket number to the tasks tags ("ABC-1")
if Git is also used, determine a save branch name from the ticket identifier and subject, and change into this branch ("ABC-1_adding_more_cruft")
updates the status of the ticket in Jira (given set_status/start/transition is set in config)
set_status/start/transition
If log_time_spent is set in config, adds and entry to the worklog of the Jira ticket. If set_status/stop/transition is set in config and the current Jira ticket state is set_status/start/target_state, updates the status of the ticket
log_time_spent
set_status/stop/transition
set_status/start/target_state
{ "plugins" : [ "Git", "Jira" ], "jira" : { "username" : "dingo", "password" : "secret", "log_time_spent" : "1", "server_url" : "http://localhost:8080", "set_status": { "start": { "transition": ["Start Progress", "Restart progress", "Reopen and start progress"], "target_state": "In Progress" }, "stop": { "transition": "Stop Progress" } } } }
Michael Kröll <pepl@cpan.org>
This software is copyright (c) 2019 by Michael Kröll.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::TimeTracker::Command::Jira, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::TimeTracker::Command::Jira
CPAN shell
perl -MCPAN -e shell install App::TimeTracker::Command::Jira
For more information on module installation, please visit the detailed CPAN module installation guide.