Color Code Scenario Results in Jira

This 'Pulse Rule' sample sets the color coding in Scenario for pass/fail at the start of the script. It then logs into qTest Manager and uses the auto-test-logs endpoint to bulk upload test cases, Test Runs, and test logs to qTest Manager. The final step is that it attempts to link requirements (you must have requirements already mapped and integrated from Jira to qTest Manager) with the new test cases.

  • Passed=Green

  • Skipped=Yellow

  • Failed=Red

Pulse Rules

UpdateScenarioWithResults.js

Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.

Setup Pulse Rule

  1. Review the qTest Pulse Quick Start Guide for your version of Pulse for complete instructions on how to add Pulse Triggers, Actions, and Rules.

  2. Enter the sample Program Code in the Pulse Actions.

    For the most up-to-date sample program code, view the Pulse Rules repository.

Pulse Constants

Anything that uses constants.X will need your own constants value.

  • constants.qTest_TOKEN

  • constants.SCENARIO_PROJECT_ID

Variables

None

UpdateqTestWithResults.js

Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.

Setup Pulse Rule

  1. Review the qTest Pulse Quick Start Guide for your version of Pulse for complete instructions on how to add Pulse Triggers, Actions, and Rules.

  2. Enter the sample Program Code in the Pulse Actions.

    For the most up-to-date sample program code, view the Pulse Rules repository.

Constants

Anything that uses constants.X will need your own constants value.

Pulse Constants

Anything that uses constants.X will need your own constants value.

  • constants.qTest_TOKEN

  • constants.SCENARIO_PROJECT_ID

  • constants.ManagerURL

Variables

Pulse Rules

Variables do not need to be updated for Pulse by the user.