Skip to content

CaseField

parkd126 edited this page Dec 7, 2018 · 9 revisions

Overview

TODO

Fields

Name Type Description Request Methods
id Int TODO TODO
systemName String TODO TODO
entityId Int TODO TODO
typeId Int TODO TODO
locationId Int TODO TODO
displayOrder Int TODO TODO
isMulti Boolean TODO TODO
isActive Boolean TODO TODO
statusId Int TODO TODO
isSystem Boolean TODO TODO
type Type TODO TODO
name String TODO TODO
label String TODO TODO
description String TODO TODO
includeAll Boolean TODO TODO
templateIds List<Int> TODO TODO
configs List<Config> TODO TODO

Methods

GET Requests:


1. getCaseFields()

Description:

Returns a list of available test case custom fields.

Returns:
Example:
val caseFields = Case().getCaseFields()

 

POST Requests:


1. addCaseField()

Description:

Creates a new test case custom field.

Parameters:
Name Type Description Required
type String The type identifier for the new custom field See Type doc Yes
name String The name for new the custom field Yes
label String The label for the new custom field Yes
description String The description for the new custom field No
includeAll Boolean Set flag to true if you want the new custom field included for all templates. Otherwise (false) specify the ID's of templates to be included as the next parameter (template_ids) No
templateIds List<Int> ID's of templates new custom field will apply to if include_all is set to false No
configs List<Config> An object wrapped in an array with two default keys, 'context' and 'options' No
Returns:
Example:
val caseFieldFoo = CaseField(
        type = Type.USER,
        name = "My CaseField",
        label = "my_casefield"
)
caseFieldFoo.addCaseField()

 

Clone this wiki locally