Closed msouth closed 7 years ago
Hi Mike. I do it like this to add two labels to an issue:
my $jira = JIRA::REST->new('https://jira.example.net', 'user', 'password');
my $issue = $jira->PUT(
'/issue/JJ-87',
undef,
{
fields => {
labels => ['labelA', 'labelB'],
},
},
);
The trick is to pass the labels inside an array.
Could you show sample code for updating an issue to add a label?