Project

General

Profile

Web services

Added by Dave Smith about 15 years ago

Hi all.

I've quite recently implemented Redmine to manage a bunch of projects that me and a few other people work on. It really has done the job for us and satisfies nearly all of our requirements.

We're all PHP developers, and as such nobody has really looked into the source to see if we can code a plugin for the few things that we can't currently do, hence the forum post.

Basically, I was wondering if there are existing, or are plans for, exposing parts of Redmine's functionality over webservices. I'l give an example where i , for one, would fine this particularly useful.

We use SVN as a version control system. When we commit a file, the SVN post commit hook is run, which invokes a PHP file. This file checks the comment that was supplied with the commit.

A regex checks for patterns in the comment, like "FIXED ISSUE#45". If it finds this, it uses the Redmine webservice to update that particular issue, marking it as resolved or closed... the point being that you could specify the status in the web service call.

I hope this explains my thinking.

Can anybody tell me if this sort of functionality already exists in Redmine, or if it's a planned feature? If not, I'll gladly roll my sleeves up and delve into Ruby and contribute something of my own.... it'll just take longer :-)

Any and all responses welcome!

Thanks
Dave


Replies (3)

RE: Web services - Added by Karl Heinz Marbaise about 15 years ago

Hi Dave,

A regex checks for patterns in the comment, like "FIXED ISSUE#45". If it finds this,

where do you search for this ?

it uses the Redmine webservice

Which webservices ? As far as i know there are no webservice only RESTlet things...
Using an older release...

marking it as resolved or closed... the point being that you could specify the status in the web service call.

This is not necessary, cause Redmine already does this if you have configured that in the administration area....
You can define based on what words e.g. "fixed" the state would be set to "closed" ...

Kind regards
Karl Heinz Marbaise
BTW: This should be posted to the help area instead of being posted to the Plugin area...

RE: Web services - Added by Saravanakumar Vadivel over 13 years ago

Hi,
i want to hit the Redmine Web service through java. i couldn't find any sample codes for this.please help me .. thanks in advance

RE: Web services - Added by shimaa ahmed about 9 years ago

I want to make webpage auto login my account on redmine
I know asp.net help me please

    (1-3/3)