Hi Group,I'm presently working with the Redmine Java API and Alexey hinted me to this mailing list; hence I have chosen to become a member.That way, I can not only drop questions, but also add documentation to the project Wiki.Actually, I have some questions related to the challenges I am presently trying to cope with the Redmine API; I could not find solutions to them by studying the API.Please correct me in case this is not the correct place to ask.
- In any instance of Project that I fetched from Redmine via the RedmineManager, the contained list of Tracker objects is always null (relates to issue #85, I guess). Is there another possibilty for now to get a list of existing Trackers via the API?
- How can I get a list of existing Status objects for a project (relates to issue #25?)?
- Is there some way to upload file attachments to an issue via the Java API?
- Is there some way to retrieve all existing Activities for a project (required for adding a TimeEntry)?
- Is there some way to retrieve all existing Versions for a project (required for setting the target version of a new issue)?
- In any instance of Project that I fetched from Redmine via the RedmineManager, the contained list of Tracker objects is always null (relates to issue #85, I guess). Is there another possibilty for now to get a list of existing Trackers via the API?
- How can I get a list of existing Status objects for a project (relates to issue #25?)?
- Is there some way to upload file attachments to an issue via the Java API?
- Is there some way to retrieve all existing Activities for a project (required for adding a TimeEntry)?
- Is there some way to retrieve all existing Versions for a project (required for setting the target version of a new issue)?
Thanks for the quick reply.
2011/12/7 Alexey Skor <als...@gmail.com>:
>> a list of existing Trackers via the API?
> use http://code.google.com/p/redmine-java-api/issues/detail?id=31
The workaround with using getProject() worked for me. Thanks.
> or help us to
> implement [different issue]
Generally speaking, no reservations with doing some implementations
from my side, but I'd have to talk to my boss to get time for that.
Are we talking of efforts in terms of days, weeks or months here?
>> Is there some way to retrieve all existing Activities for a project
>> (required for adding a TimeEntry)?
> not supported by Redmine REST API. Feel free to submit a request to their
> bug tracker: http://www.redmine.org/projects/redmine/issues
> when they implement this feature, we can add this to the Java library.
I'll add an issue; for now I will have to find a workaround to get the
IDs of the activities.
Other point: Any reservations from your side with me enhancing the WIKI entries?
- Is there some way to upload file attachments to an issue via the Java API?
feel free to implement http://code.google.com/p/redmine-java-api/issues/detail?id=42
- Is there some way to retrieve all existing Activities for a project (required for adding a TimeEntry)?
not supported by Redmine REST API. Feel free to submit a request to their bug tracker: http://www.redmine.org/projects/redmine/issueswhen they implement this feature, we can add this to the Java library.
I got the "Go" to do some work here. :)
Would you like to add me as a committer?
Best,
MP
On 9 Dez., 14:27, Bruno Medeiros <bruno...@gmail.com> wrote:
> If you're interested in all activities then you really need to fill a
> feature request, but if you're interested only in Time Entries there is an
> API for that, as I mentioned before:http://www.redmine.org/projects/redmine/wiki/Rest_TimeEntries
The problem is that (unless there is a default activity defined in
Redmine) one needs to provide an activity ID to create a new
TimeEntry.
Yet, there seems to be no way currently to fetch activity IDs via the
Redmine REST API.
I'm afraid I will have to think of a another solution for file
uploading here.
On 9 Dez., 14:27, Bruno Medeiros <bruno...@gmail.com> wrote:
> AFAIK the Rest API for attachments is read-only, so you cannot upload files
> yet (or it's not documented). As I said, there is an open issue for that,http://www.redmine.org/issues/8171, so don't think we can implement
> redmine-java-api#42
>