DATASTAR: Set Json Parameters


The task is used to read a Json file and set TFS Variables using the Json properties. For example a Json file with the following format:

    "BuildId":  "123",
    "WorkItem":  "987",
    "Version":  "45",
    "BuildNumber":  "67.89"

Will set TFS Variables for "BuildId", "WorkItem", "Version" and "BuildNumber" with their associated values.

Contact Information

Please report a problem to if you are facing problems in making this task work. You can also share feedback about the task like, what more functionality should be added to the task, what other tasks you would like to have, at the same place.

Task Parameters

The task can be used to setup TFS variables. The task parameters are described in detail below. The parameters listed with a * are required parameters for the task.

  • Parameter Directory*: The directory containing the parameter file.

  • Parameter File*: The file name of the Json file to process.

Advanced Options

The following parameters are selectively shown under the Advanced Options:

  • Fail on Standard Error: If this is true, this task will fail if any errors are written to the Standard Error stream.

Known Issues: