I understand that Tempo recommends using the rest api to access its tables, however I need planning data from the Planning API, they do not have a public rest service that is usable. This has really tied my hands in how I can get planning data from tempo. I and another developer was thinking of using an ORM(EclipseLink) to create some entities in a web service that could read data from the Active Object Tables. The tricky part is in the relationships however the planning data seems to be somewhat isolated. If there is a better way let me know because the Planning API rest services is not verbose enough.
Community moderators have prevented the ability to post new answers.
My answer would be if for reading only, just read the AO tables if the API is not enough for you. For writing back to Tempo, do it the right way and use the Tempo API.
The planning data and API are "fairly complex" which is precisely why we haven't published the API.
The relationships more precisely are what complicates these things, plans can almost be applied to anything but to make sense in a context they need to be in a scope such as Team or Project.
Be assigned to a resource, Team, User and then the planItem being planned, issue, iteration, version and so on.
Given the fact you have Tempo SaaS you could access the JAVA API and/or AO services by writing a JIRA plugin.
all you'd need is (assuming you use the atlassian JIRA sdk)
1) add dependency to plan-core in your "pom.xml" (and probably tempo-teams)
2) add component-import's for the services you're going to use
3) use the api (spring dependency injection)
We maintain backwards compatibility within minor versions at least and try not to break too much during major version updates but be forewarned that we recommend using the RESTFUL API.
You can't access the AO tables via ActiveObjects API as far as i know but if you have SQL access then you can obviously do queries yourself using any ORM as you suggested.
Out of interest though.. What is it that you're trying to do exactly?
We might be able to help you out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.