Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Update Manual test steps through API

Vishal vanpariya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 7, 2025

 

 

Hi, We are using Xray and Jira cloud.

I am trying to Update Manual test Steps through API.

referring the documentation below:
https://docs.getxray.app/display/XRAYCLOUD/REST+API

Please help us to Update test steps through API.

2 answers

0 votes
Francisco Fonseca _Xray_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2025

Hi @Vishal vanpariya ,

Similar to this question: https://community.atlassian.com/forums/Jira-questions/Export-Manual-test-steps-API/qaq-p/2965162?utm_source=atlcomm&utm_medium=email&utm_campaign=subscription_search_question&utm_content=topic#U2976091

You can make use of GraphQL for achieving this.

Find more here: updateTestStep 

 

mutation {
    updateTestStep(
        stepId: "836d30ec-f034-4a03-879e-9c44a1d6d1fe",
        step: {
            result: "Xray Cloud Rest Api works as expected",
            customFields: [{id:"5ddc0e585da9670010e608dc", value:"Lisbon"}]
        }
    ) {
        warnings
    }
}

 

Best Francisco

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 2025

Hi @Vishal vanpariya 

Welcome to the community.

There is no endpoint on the xray api to update existing tests steps only to import them.

this can only be achieved by using Importing+Tests+using+Test+Case+Importer here in the CSV you can specify the existing issue key

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events