jira-client
jira-client copied to clipboard
setFixVersions example
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?