Constructor
new FieldClient(jiraClient)
Used to access Jira REST endpoints in '/rest/api/2/field'
Parameters:
Name | Type | Description |
---|---|---|
jiraClient |
JiraClient |
- Source:
Methods
createCustomField(opts, callback)
Creates a custom field using a definition (object encapsulating custom field data)
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
opts |
The request options to send to Jira Properties
|
|||||||
callback |
Called when the custom field has been created. |
- Source:
getAllFields(opts, callback)
Returns a list of all fields, both System and Custom
Parameters:
Name | Type | Description |
---|---|---|
opts |
Ignored |
|
callback |
Called when the fields have been retrieved. |
- Source: