Skip to content

How to update CustomFields #71

Open
@MateuszAlcumus

Description

@MateuszAlcumus

Hello, I am struggling to understand how to update CustomFields, when creating new TestCase

            // download custom case fields for my project
            List<CaseField> customCaseFields = testRail.caseFields().list().execute();

            // add new case
            Case testCase = testRail.cases().add(suiteID, new Case().setTitle("New Test Case"), customCaseFields).execute();

Now I know that my customCaseFields, contains field called 'steps' (index 1 in the list)

How can I set value for this custom field when adding new test case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions