NZTA\SDLT\IssueTracker\IssueTrackerSystem::addTask
Adds a task to the JIRA board.
Signature
public function addTask(string
$projectName,
SecurityComponent
$component,
[string
$issueType = 'Task',
[string
$productAspect = '']] )
Parameters
$projectName
—
string
- The name of the JIRA board to post issues to
$component
—
NZTA\SDLT\Model\SecurityComponent
- Each ticket represents a single SecurityComponent.
$issueType
—
string
$productAspect
—
string
Returns
- string
- A string to use as the "TicketLink" field
in the
Errors/Exceptions
-
Exception
- When project name is not set