Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Testrail 5.3 API updates?


#1

Just saw the announcement for TR 5.3, which makes mention of “updated API methods”.

Is there a detailed list of what the changes are? I couldn’t find this on the website.

Thanks


TestRail 5.3 released
#2

Looks like they added the following:

  • Return created_on/created_by fields for runs in plan API methods (e.g. get_plan)

#3

Hi!

Yes, we added additional fields for get_plan but also supported for sub-milestones and milestone scheduling. The milestone related changes can be found here:

http://docs.gurock.com/testrail-api2/reference-milestones

Just search for “5.3” to find all changes after expanding the sections (get_milestone/get_milestones/add_milestone/update_milestone).

I hope this helps!

Cheers,
Tobias


#4

Great, thanks the explanation.


#5

You are welcome, Steve!

Cheers,
Tobias


#6

Another quick question: get_milestone returns the sub-milestones in the milestones array, but get_milestones doesn’t. Was that by design?


#7

Hi Don,

Yes, this is on purpose as the response of get_milestones can be very large for long-lived projects with many milestones + sub-milestones and the milestone API behaves in a similar way to get_plans/get_plan. It’s planned to add additional options to the API in the future, e.g. to control the fields you want to include and also to include nested properties.

Cheers,
Tobias