Could we expect in the near future API update for the time tracking?
If not what is the best way to create my own API version? Which must be not lost after updates.
SOAP API time tracking update?
Moderators: Developer, Contributor
Re: SOAP API time tracking update?
I recommend to write to the "SOAP API Mailing List"
https://www.mantisbt.org/mailinglists.php
https://www.mantisbt.org/mailinglists.php
Re: SOAP API time tracking update?
What are you missing from the current API?
Re: SOAP API time tracking update?
I miss 2 things:
- time tracking
- reading single Note, as in "Common" projects, like meeting I have a lot of topics
Thanks atrol. I'll try.
- time tracking
- reading single Note, as in "Common" projects, like meeting I have a lot of topics
Thanks atrol. I'll try.
Re: SOAP API time tracking update?
1. Time tracking is possible by adding issue comments with mc_issue_note_add. The IssueNoteData object has a time_tracking field which contains the actual time tracking value. Also note_type needs to be set to 2 ( TIME_TRACKING ).
2. Reading a single not is not possible at the moment. Feel free to raise the issue on the bugtracker for discussion and link it back here.
2. Reading a single not is not possible at the moment. Feel free to raise the issue on the bugtracker for discussion and link it back here.
Re: SOAP API time tracking update?
Thanks rombert,
First, I need the reading but I decide to use SSH tunnel to MySQL DB. So I must not wait the changes what I need and not change PHP code.
In addition, i did changes in time tracking report:
-Added project name.
-Correct problem with time tracking on hierarchy projects. (By all projects and by single project you can see the time tracking but not on the top projects in hierarchy).
If somebody interested, I can post it, if you tell me where is correct place for it.
First, I need the reading but I decide to use SSH tunnel to MySQL DB. So I must not wait the changes what I need and not change PHP code.
In addition, i did changes in time tracking report:
-Added project name.
-Correct problem with time tracking on hierarchy projects. (By all projects and by single project you can see the time tracking but not on the top projects in hierarchy).
If somebody interested, I can post it, if you tell me where is correct place for it.
Re: SOAP API time tracking update?
Glad to hear that you found a solution that works for you.
Please keep in mind that accessing the DB directly has some inconveniences:
Robert
Please keep in mind that accessing the DB directly has some inconveniences:
- You will need to adapt to schema changes
- No fine-grained access control
- No history tracking, email notifications, etc for changes
- Open a bug report on http://www.mantisbt.org/bugs/
- Create a pull request on https://github.com/mantisbt/mantisbt
Robert
Re: SOAP API time tracking update?
>Create a pull request on...
Sorry, but difference to trunk is too big. Here is the difference to my version >You will need to adapt to schema changes
this is only one problem if I want to update my current version.
All others I can made the same
Sorry, but difference to trunk is too big. Here is the difference to my version >You will need to adapt to schema changes
this is only one problem if I want to update my current version.
All others I can made the same