View as Markdown
Tricentis qTest icon

Tricentis qTest ACTION

Get Defect

Get full details of a specific defect by ID. Use List Defects to find the defect ID and List Defect Fields to interpret field IDs in the response. Example: projectId: 1, defectId: "201" → returns {id: 201, properties: [{field_id: 1, field_value: "Login crash"}, {field_id: 2, field_value: "New"}]}. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Tricentis qTest account once, then configure and run Get Defect from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "tricentis_qtest-get-defect",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    tricentis_qtest: { authProvisionId: "apn_xxxxxxx" },
    projectId: "Project ID",
    defectId: "Defect ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Get Defect inputs
Property Type Description
projectId Project ID string
The ID of a project, e.g. 1. Use the List Project ID Options action to retrieve available project IDs.
Required
defectId Defect ID string
The ID of a defect. Use the List Defects action to retrieve available defect IDs.
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
tricentis_qtest-get-defect
Version
0.0.3
App
Tricentis qTest
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes