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!

Updating YouTrack issues associated with release



  • How do I update (e.g., add a comment to) all the issues in YouTrack associated with my release? I tried this, but it did nothing:

    Add-Issue-Comment
    (
        Text: Testing BuildMaster/YouTrack integration. $ApplicationName $ReleaseNumber.$PackageNumber -> $EnvironmentName
    );
    

    I see there's also YouTrack::Add-Comment but it requires you to specify a single YouTrack issue ID. Not sure how useful that can possibly be -- I need to update all (or a set) of issues.

    Product: BuildMaster
    Version: 5.6.11


  • inedo-engineer

    Hello Glenn,

    The next version of the YouTrack extension will include a Find-Issues operation, so you'll be able to do:

    YouTrack::Find-Issues
    (
        Credentials: MyYouTrackCredentials,
        Project: IT,
        Filter: "version: $ReleaseNumber -resolved",
        Output => @IssueIDs
    );
    
    foreach $id in @IssueIDs
    {
        YouTrack::Add-Comment
        (
            Credentials: MyYouTrackCredentials,
            IssueId: $id,
            Comment: Testing BuildMaster/YouTrack integration. $ApplicationName $ReleaseNumber.$PackageNumber -> $EnvironmentName
        );
    }
    


Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation