jira-client icon indicating copy to clipboard operation
jira-client copied to clipboard

setFixVersions example

Open SilvanLaroo opened this issue 9 years ago • 0 comments

I cannot get the setFixVersions function to work. I tried a lot of different calls, for example:

    $issue
        ->setProject('test-project')
        ->setType(1) // ID can be found via $jira->issueTypes()->get().
        ->setSummary('Issue created via the API')
        ->setDescription('This is a test issue created throug the API' . $description)
        ->setFixVersions(array( 'Issue collector'));

I also tried with the key 'name' for the fixVersion, but this doesn't work. Can you provide an example?

SilvanLaroo avatar Mar 06 '15 10:03 SilvanLaroo