Is it possible to assign responsibility via the API (URL or similar)?

We'd like to automatically assign responsibility for failing builds. Is this possible?

Thanks,
Jamie.

4 comments
Comment actions Permalink

At the moment there is no easy way to do that.

Can I ask you for examples, how are you going to use such feature?

Thanks

0
Comment actions Permalink

We'd like to be able to use a URL like:

http://tt-teamcity/viewLog.html?buildId=100872&tab=buildResultsDiv&buildTypeId=bt107&assignResponsible=jwither

We have scripts which would decide what username to use.

Alternatively as TC knows who commited which changes to a build, it would be useful if it could automatically assign responsibility to the user (or one of the set of users) who made commits in that build. Obviously the failure may not be due to their changes, but they would be responsible for investigating and passing on responsibility.

Thanks,
Jamie.

0
Comment actions Permalink

Hi Jamie

Comments for Accessing Server by HTTP article describe such approach. You can use links like

http://teamcity/action.html?takeResponsibility=bt53&user=2



User IDs can be obrained by REST API calls like

http://localhost:82/httpAuth/app/rest/users



Also you can vote for TW-10281 request.

Michael
0

Please sign in to leave a comment.