locked
TFS 2017 On Premise Task Group References RRS feed

  • Question

  • We are running TFS 2017 On Premise and I want to know if there is an upgrade available that allows you to see references from Task Groups as described in this article: https://docs.microsoft.com/en-us/vsts/build-release/concepts/library/task-groups  If not this way - is there any way with On Premise TFS to know what builds are using a given Task Group?  Thanks.
    Wednesday, November 22, 2017 4:26 PM

All replies

  • Hi,

    There’s no References tab in Tasks Groups in TFS2017, but available in TFS2018 and VSTS.

    You can build the app to check the build contains task group or not through Build Definition REST API, for example:

    "build": [
            {
                "enabled": true,
                "continueOnError": true,
                "alwaysRun": true,
                "displayName": "Task group: test ",
                "timeoutInMinutes": 0,
                "task": {
                    "id": "155baddf-f93b-43e7-975d-6ba2e3d79d4a",
                    "versionSpec": "1.*",
                    "definitionType": "metaTask"
                },
                "inputs": {}
            }
        ]
    
    The definitionType value is metaTask for task group. 


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, November 24, 2017 2:57 AM
    Moderator