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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

Suggest an answer

Log in or Sign up to 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?

TAGS
AUG Leaders

Atlassian Community Events