Integration with YouTrack

279 views
Skip to first unread message

Matias Ribichich

unread,
Apr 28, 2016, 11:17:54 AM4/28/16
to go-cd
Has anyone try to integrate it with YouTrack?

We are after changing the build number of fixed issues in youtrack with the build number in GoCD for our releases.

Thanks!

Sriram Narayanan

unread,
Apr 30, 2016, 11:32:46 PM4/30/16
to go...@googlegroups.com
What exactly are you looking for by way of integration?

In case you'd like to update a field automatically, Go provides you with the current pipeline run number as an environment variable. You could use their API to update a field's value.

Figuring out which commit is related to fixing a particular issue has always been tricky, and I've come to rely on human intervention to mark an issue as closed. e.g., if a dev is making a number of commits toward an issue, and if there are tests tagged with the issue, and if these tests pass, then one could consider iterating over such tests and marking the issue as FIXED if all the tests tagged with that issue have passed. However, such a commit might introduce defects in other stories, and one then needs to figure how the appropriate approach. It finally boils down to policy decisions.

IMO, its better for a person to mark a defect as FIXED.

-- Ram

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Matias Ribichich

unread,
May 2, 2016, 3:03:10 PM5/2/16
to go...@googlegroups.com
By integration I meant a way to update fixed/closed issues "build number". In youtrack we have a field call Fixed in Build which holds the Build number when it was release.

I dont want to change automatically the issue status to fixed. I agree with you on this point. I only want to change the version number of fixed issues.

I realized that there is no other way than using YouTrack Rest Api to update this field.

Just want it to know if there was a better or more suitable way of doing it.

thanks!

Sriram Narayanan

unread,
May 3, 2016, 11:02:02 AM5/3/16
to go...@googlegroups.com
On Tue, May 3, 2016 at 3:02 AM, Matias Ribichich <guli...@gmail.com> wrote:
By integration I meant a way to update fixed/closed issues "build number". In youtrack we have a field call Fixed in Build which holds the Build number when it was release.

I dont want to change automatically the issue status to fixed. I agree with you on this point. I only want to change the version number of fixed issues.

I realized that there is no other way than using YouTrack Rest Api to update this field.

Just want it to know if there was a better or more suitable way of doing it.

You could consider authoring a plugin to call the YouTrack REST API.

Ketan Padegaonkar

unread,
May 3, 2016, 11:03:43 AM5/3/16
to go...@googlegroups.com
The notification plugin API is something you may want to use to implement this. There are a lot of other notification plugins that you may look at, for a sample implementation. 

Matias Ribichich

unread,
May 5, 2016, 2:07:04 PM5/5/16
to go...@googlegroups.com

Ok great thanks!

Reply all
Reply to author
Forward
0 new messages