Forum Discussion

Bsprimont's avatar
Bsprimont
Visitor
8 years ago

QAComplete REST API query requirements on custom fields?

 

Hi, I'm looking to perform REST API queries to grab requirement JSON files based on a custom field and was wondering if this possible. Currently it does not appear to be anywhere in the documentation that I have found on the REST API (https://support.smartbear.com/viewarticle/90167/). If anyone could give any insight it would be greatly appreciated.

 

To be a bit more concrete. We have a custom field with id "Custom1" and name "Requirement Number" and we are trying to query to grab specific requirements based on this "Requirement Number" field. So far we have blindly tried the following with no luck:

 

https://rest.qacomplete.smartbear.com/rest-api/service/api/v1/projects/102089/requirements?filter=Custom1=%27REQNO1234%27

 

https://rest.qacomplete.smartbear.com/rest-api/service/api/v1/projects/102089/requirements?filter=RequirementNumber=%27REQNO1234%27

 

https://rest.qacomplete.smartbear.com/rest-api/service/api/v1/projects/102089/requirements?filter=Requirement%20Number=%27REQNO1234%27

 

https://rest.qacomplete.smartbear.com/rest-api/service/api/v1/projects/102089/requirements?filter=Requirement_Number=%27REQNO1234%27

 

 

Any insight would be greatly appreciated.

 

Thanks,

Brennen

 

  • Hi Brennen,

     

    Thank you for your post. Unfortunately, currently, you cannot filter REST responses by custom fields. We have a corresponding feature request in our backlog, so this feature can be implemented in one of the future product releases.

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi Brennen,

     

    Thank you for your post. Unfortunately, currently, you cannot filter REST responses by custom fields. We have a corresponding feature request in our backlog, so this feature can be implemented in one of the future product releases.

    • mengthao's avatar
      mengthao
      New Contributor

      Hi,

       

      Has there been any updates on this?  Our company has also recently upgraded to QAComplete version 11.3.514 and wondering if we can update custom fields now.

       

      Thanks

      • Nastya_Khovrina's avatar
        Nastya_Khovrina
        SmartBear Alumni (Retired)

        Hi Meng,

         

        No, unfortunately, this feature isn't implemented yet.