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,

1 answer

0 votes
Tomislav Tobijas
Community Champion
November 24, 2025

Hi @SAtlass ,

Have you managed to sort this out in the meantime?

From the message, it would seem that QMetry's API is not receiving the custom field in the expected format or location in your payload.

You could check:

  1. Field mapping and configuration - ensure that "customid" is correctly mapped.
  2. Payload format - this really depends on the QMetry. The recommended approach would be to check their official docs to see if your JSON matches the expected format.
  3. Permissions - standard thing. Re-check if your API key has the necessary permissions in both environments.

Have you tried reaching out to QMetry support to see if they can assist with this? 👀

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events