Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Need to extract information from the Adaptavist Test Management

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

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 

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

This is really helped me, thank you.

Like Vitor Pelizza likes this

@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.

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

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 :)

@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? 

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

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'?

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?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

689 views 17 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you