createComponent(IHubIssue issue, String componentName, String description, String leadAccountId, String assigneeType)
|issue||The issue where the component needs to be created|
|componentName||The component name|
|description||The description for the component, e.g. Database|
|leadAccountId||The account Id of a lead|
The type assignee - can be one of following (strings)
- The Component is NOT automatically added to any of the fields of the issue.
- If a version with the same name already exists, then the existing component will be returned and no new component will be created.
- The component is created in the project where the issue resides
- Returns a component or null if the version could not be created
- Set leadAccountId to 'null' in case no lead should be set
- When assigneeType is null, createComponent will return null.