Skip to content

support testRail.cases().list(projectId, suiteId) API #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alexeyOnGitHub opened this issue Jul 17, 2015 · 0 comments
Open

support testRail.cases().list(projectId, suiteId) API #3

alexeyOnGitHub opened this issue Jul 17, 2015 · 0 comments

Comments

@alexeyOnGitHub
Copy link

I see this API for loading cases:

    client.cases().list(projectId, suiteId, customCaseFields).execute();

which is not consistent with other calls, like

    client.milestones().list(projectId).execute();

why is there a need to provide a list of customCaseFields to this method?
the following REST API call returns list of cases with all custom fields set:

"index.php?/api/v2/get_cases/" + projectId + "&suite_id=" + suiteId

according to TestRail REST API documentation, custom fields returned start with "custom_" prefix. so all these fields can be loaded from the Json response as a Map to Case class.
and then they could be retrieved by name:

Object value = aCase.getCustomField(name)
davidbrazilparker pushed a commit to chapeco/testrail-api-java-client that referenced this issue Aug 15, 2018
# This is the 1st commit message:

# This is a combination of 8 commits.
# This is the 1st commit message:

Added new fields to Milestone available since TestRail 5.3; Fixed configuration of Lombok; Added Template model

# This is the commit message codepine#2:

Added Nexus distributionManagement to pom

# This is the commit message codepine#3:

Changed groupID

# This is the commit message codepine#4:

Fixed configuration of Lombok; Added Template model

# This is the commit message codepine#5:

Added deserialization of test Templates json file, updated Template class to deserialize is_default correctly

# This is the commit message codepine#6:

Added new fields to Milestone available since TestRail 5.3

# This is the commit message codepine#7:

Updated pom with release information for forked version of project

# This is the commit message codepine#8:

Update issue templates
# This is the commit message codepine#2:

Removed log4j dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants