Forums

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

Custom field status updation using Qmetry API from Script

SAtlass
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!
June 23, 2025

Hi,

I created a Custom field in Jira through Apps-->Qmetry->Configuration .Field name is customId .Once created, I imported excel which has data and ensured this customid has data.Now i am trying to update the Status value from my automation script based on pass/fail status using API key .

Before I updated the status from my program, I tried using Postman.

I used the Import Results URL and gave the api key and application/json .IN raw data - Json gave the below and I get response as 
{Status:400".

"errorMessage:"Custom field( s) customid required to create test case" ,

"timestamp":""

Can I get help on this please.

------------------

{
"format": "junit",
"project": {
"id": "xxxxx"

},
"testCycle": {
"name": "Test Jra - June 2025"
},

"testCase": {
"customFields": [

{
"name": "customid",
"value": "FR001TC01"
}

]

},

"resultFile": "Encoded one"

}

 

 

Thanks,

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events