Get items related to SCR via dmcli

I am trying to write a script that when given a software change request, HSV_SLED_SCR_144, will connect to Dimensions via dmcli and return a list of all related items

Parents Reply
  • We are using Azure Dev Ops for our code repositories. Dimensions will be used for traceability; all Problem Reports, Software Change Requests, Code Reviews, Test Results, etc.

    My current line of thinking is to have a pre-merge hook in the git repo that runs a python script that queries Dimensions and processes the output. Something like

    rv =['dmcli'], ['some command'], capture_output=True)
    for line in rv.stdout:
      # process results from Dimensions 

    Then a post-merge hook would update the Dimensions SCR with the git commit hash.

No Data