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 v9.0

Pulse Rules v9.1

scenarioColors.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 that coordinates with 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 QASymphony/Pulse Rules repository linked above.

Pulse 9.0 Constants

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

  • constants.Scenario_Account_ID

  • constants.Scenario_Project_ID

Pulse 9.1 Constants

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

  • constants.qTest_TOKEN

  • constants.SCENARIO_PROJECT_ID

Variables

None

UpdateqTestAndScenarioWithFormattedResults.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 that coordinates with 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 QASymphony/Pulse Rules repository linked above.

Constants

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

Pulse 9.0 Constants

  • constants.qTestAPIToken

  • constants.ManagerURL

Pulse 9.1 Constants

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

  • constants.qTest_TOKEN

  • constants.SCENARIO_PROJECT_ID

  • constants.ManagerURL

Variables

Pulse Rules v9.0

Fields with a $ and all caps that look like a variable must be updated.

Example: In UpdateqTestAndScenarioWithFormattedResults.js, please replace $YOUR_SLACK_EVENT_NAME

Pulse Rules v9.1

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