NAME
Bot::Backbone::Service::Ticket::Tracker::JIRA - ticket tracker lookups for JIRA
VERSION
version 0.160490
SYNOPSIS
service jira_tickets => (
service => 'Ticket',
trackers => [{
type => 'JIRA',
uri => 'http://company.atlassian.net/',
username => 'botuser',
password => 'secret',
title => 'Issue %{issue}s: %{summary}s',
link => 'https://company.atlassian.net/browse/%{issue}s',
patterns => [
qr{(?<!/)\b(?<issue>[A-Za-z]+-\d+)\b},
qr{(?<![\[])\b(?<schema>https:)//company\.atlassian\.net/browse/(?<issue>[A-Za-z]+-\d+)\b},
],
}],
);
DESCRIPTION
This works with Bot::Backbone::Service::Ticket to perform JIRA ticket lookups and summaries.
ATTRIBUTES
uri
This is a required parameter that names the URI of your JIRA ticket tracker host.
username
This is the username to use for logging in to JIRA.
password
This is the password to use for logging in to JIRA.
METHODS
lookup_issue
This is a very simple lookup by issue number that returns the summary field for the issue as the "summary" key and the looked up issue number as the "issue" key.
AUTHOR
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Qubling Software LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.