1

How to update Test execution status ( Pass/Fail) in Jira in automatically using protractor framework.

Test management tool used Jira with zephyr plugin.

Any Rest API plugin available? Please provide example.

Any help would be appreciated.

1 Answer 1

2

In order to update the execution status you need to perform a REST call with this details:

Method: PUT

URL: https://{your_company_jira_url}/jira/rest/zapi/latest/execution/{executionId}/execute

Headers:

Content-Type: application/json

And in body specify this JSON:

For PASS:

{ "status": 1 }

For FAIL:

 { "status": 2 }

You can find more information (depending of your Zephyr/Jira version) in: https://zfjcloud.docs.apiary.io/#

I hope helps.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.