Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Loading the modules from a specific location such that JIRA::REST.
- use JIRA::Client::Automated;
- use JIRA::REST;
- use Data::Dumper;
- #Login details about Jira server
- my $jira = JIRA::REST->new({
- url => 'https://xxxxxxxx.xxxxx.com',
- username => 'xxxxxxx',
- password => 'xxxxxxx',
- });
- # Create the ticket using post function
- my $issue = $jira->POST('/issue', undef, {
- fields => {
- project => { key => 'TIME' },
- issuetype => { name => 'Task' },
- summary => '20-7-2018 checking field persent or not',
- description => 'test',
- custom_field => { customfield_11197 => 'VIGIL-72'},
- },
- });
Add Comment
Please, Sign In to add comment