Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

I'm not able to get the Leankit integration working



  • Here's what I've done to integrate Leankit:

    1. Created an Issue/Bug Tracking Provider
    2. Used the default for the tagging: rel-%RELNO%
    3. Configured Issue Tracker under the application
    4. Tagged a few cards with rel-1.1
    5. Visited the Overview page for Release 1.1
    6. Scanned down to Issues and see: "There are no issues for this release".


  • My best guess is that the LeanKit user account configured in BuildMaster doesn't have permission in LeanKit to view cards for that board. Does it work if you (temporarily) use an account with administrator/full access to the board?



  • I am using the proper account (has full access). Setting up the Issue Tracker itself works well. Testing the connection shows successful, and I'm able to pick from a list of boards for the application I want associated. After picking the board, I go to the release overview page for release 1.1 and there are no issues showing up. I have several cards tagged as rel-1.1. I even tried changing the tagging syntax in the setup of the issue tracker (in buildmaster) to accept just %RELNO% without rel- to see if that helps. After changing the tags to just reflect 1.1 in the cards, I still do not see the issues. I find that GitHub's issue tracker works perfectly. I entered several issues with the milestone 1.1 and they show up. Of course, that was just a test and we're not using GitHub for our issue tracking.



  • Strange. I'm not able to reproduce this behavior here. Would you be able to capture a Fiddler trace of the communication between BuildMaster and LeanKit?

    Is it just this one board? (Are you able to connect to a board with, say, just one card on it)?



  • I did attempt to use an out-of-the-box simplified board with one card on it with the same outcome. I'll try the fiddler trace and report back my findings on that.

    And, I didn't say it before, but meant to. Thank you for helping!



  • Using Fiddler 2, it shows Build Master attempting to access the wrong board no matter what board I choose to associate with the application. Furthermore, the Board Version it passes in the URL will never return any results as it is too large. Not sure where it gets the version from. If I copy out the URL and modify it to use the correct board and a lower board version, I get a successful return in my browser.



  • Thanks or the additional information; we'll look into this some more.

    not sure if you're familiar w/ C#/.NET, but we do have the source code for the LeanKit extension posted on GitHub: https://github.com/Inedo/bmx-leankit

    The specific class is here: https://github.com/Inedo/bmx-leankit/blob/bm-4.0.0/Kanban/KanbanIssueTrackingProvider.cs

    Any additional information (such as Fiddler traces) would be appreciated; you can send those to support at inedo dot com.



  • I've submitted the info to support and also created a fork of the Leankit integration in GitHub. Thanks again!


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation