Need to extract information from the Adaptavist Test Management

J Ravichandra Kumar September 15, 2017

Dear All,

I am trying to extract the information from  the Adaptavist Test Management (integrated with in JIRA), not sure about which URL should be using in the REST API Request, I am able to view only Test "/testrun", i need to extract info about "/testcase" and "/testresult".

Please help

Regards,

Ravi.

1 answer

Suggest an answer

Log in or Sign up to answer
2 votes
Vitor Pelizza September 18, 2017

Hi Ravi,

Here is the API docs: https://www.kanoah.com/docs/public-api/1.0/

And, the URL should be:

<your-jira-url>/rest/atm/1.0/

 For example, if you need to retrieve a test case, you can use:

<your-jira-url>/rest/atm/1.0/testcase/ABC-T123

 

Hope that helps :)

Regards,

Vitor 

Marius Bob August 23, 2018

I just found that on adaptavist rest api documentation but it doesn't work on my side. I get 404.

Our jira solution is cloud based. What's the base URL then? :)

 

Also they say something about Jira Context:

http://your-jira-host:port/your-jira-context/rest/atm/1.0/

What is that?

Like Vitor Pelizza likes this
berkaykirmizioglu November 8, 2018

This is really helped me, thank you.

Like Vitor Pelizza likes this
Vitor Pelizza November 8, 2018

@berkaykirmizioglu, I'm glad that helped!

@Marius Bob, sorry I totally missed the notification for your comment, I suppose. We are still working on the API for the Cloud version, and the URL will be a bit different. Currently, we are on beta testing phase for the API.

Let me know if you want to get early access while still in beta, so I can give you a token? If that's the case, please raise a ticket on our support site: https://productsupport.adaptavist.com/servicedesk/customer/portal/33

 

Thanks.

Allen Jameson January 29, 2020

I came across this and was almost convinced there still wasn't a cloud version, but finally came across the cloud API reference, which I'm happy to say seems to work well!

https://docs.adaptavist.io/tm4j/cloud/api/v2/

Like Vitor Pelizza likes this
Vitor Pelizza January 30, 2020

Yes, there is! And you can download the Swagger specs from the documentation to generate a client on the language you prefer if you want :)

Allen Jameson January 31, 2020

@Vitor Pelizza Thanks for your note.  I looked through the API and I have one or two questions:

- Can you get or set custom fields in test cases through the API? 

- Can you read history of a test case (change log) through the API? 

Vitor Pelizza February 3, 2020

Hi Allen,

Custom fields are not yet supported; they are planned for later this year though.

Support for change history is not supported either, and there is no plan of introducing this.

Please feel free to open a feature request through our support site and we'll be happy to evaluate the features you need:

https://productsupport.adaptavist.com/servicedesk/customer/portal/33

Karina Santiago July 28, 2020

We are using Jira Server with TM4J add-on.

we can get the information about recently created test cases by rest api like https://{server:port}/rest/atm/1.0/testcase/search?query=projectKey = {"projectKey"} AND createdOn > "2020-06-17",

but we cannot track the recently updated test by making use of the field 'updatedOn' like

https://{server:port}/rest/atm/1.0/testcase/search?query=projectKey = {"projectKey"} AND updatedOn > "2020-06-17"

Are there the plan to support searching the test case by the field 'updatedOn'?

Hemendra Pratap Singh July 14, 2021

Hi. Is it possible to use the "https://{server:port}/rest/atm/1.0/testcase/search?query=projectKey = {"projectKey"} AND createdOn > "2020-06-17" API request for Jira Cloud also?

TAGS
AUG Leaders

Atlassian Community Events