Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ide_requirement [2020/05/04 01:04]
admin [IDE Requirement Editor]
ide_requirement [2021/01/05 03:00] (current)
Line 9: Line 9:
  
 ==== Requirement Attributes ==== ==== Requirement Attributes ====
 +  * Name - the unique id for the requirement and must be unique. It is used to trace requirement coverage.  Keep this as short as possible.
 +  * Priority - priority code like High, Medium and Low but should be consistent among all models in order to allow cross model reporting and KPI calculation.
 +  * Description - descriptive but short. It is displayed if supplied in code-assist in [[Script Editor]].
 +  * ALM Req. ID - external requirement id, this is used to trace this requirements that were imported from external requirement system.  It is not used within the model.
  
  
 ---- ----
 ==== Import Requirement ==== ==== Import Requirement ====
 +Requirements can be imported from [[#External Requirement Sources]] that have been configured. 
  
-=== Upload File ===+{{wiki:idescreen:ide_requirement_sync.png?300}}
  
 +Additional parameters may be required and can be set in the parameter textarea in key,value pairs in json:
 +   
 +     "key1": "value1",
 +     "key2": "value2"
 +   }
  
-=== External Requirement Sources ====+Click on the refresh button to pull the requirement updates from the selected source.
  
 +Click on the "<" to copy the requirement into the model.
 +
 +
 +----
 +==== Upload File ====
 +You may import requirements from a tab delimited file.  
 +
 +The column header is required and column names do not have to match [[#Requirement Attributes]] above.
 +
 +After uploading the file, you will be asked select the matching column to the [[#Requirement Attributes]].
 +
 +
 +----
 +==== External Requirement Sources =====
 +//TestOptimal// supports requirement imports from //Jira// and //Azure ALM//.
 +
 +You must configure the connections in //config/config.properties// file using the following examples:
 +   ALM.azure.AUTH.PASSWORD=XXXXXX
 +   ALM.azure.AUTH.TYPE=Basic
 +   ALM.azure.AUTH.USERNAME=XXXXXX
 +   ALM.azure.class=com.testoptimal.alm.AzureConnect
 +   ALM.azure.desc=XXXXXX
 +   ALM.azure.req.url=https\://dev.azure.com/XXXXXX/@PROJECT@/_queries?tempQueryId\=@QUERY_ID@
 +
 +   ALM.jira.AUTH.PASSWORD=XXXXXX
 +   ALM.jira.AUTH.TYPE=Basic
 +   ALM.jira.AUTH.USERNAME=XXXXXX
 +   ALM.jira.class=com.testoptimal.alm.JiraConnect
 +   ALM.jira.desc=XXXXX
 +   ALM.jira.req.query={"jql"\: "project \= @PROJECT@ and (issuetype \= Story or issuetype\=Task or issuetype\=Sub-Task) and status \= 'In Progress'", "fields"\: ["summary", "priority", "updated", "description"]}
 +   ALM.jira.req.url=http\://XXXXXX\:8080/rest/api/2/search
 +
 +Where //XXXXXX// will need to be set accordingly and //@code@// are the parameters that must be set in the parameter textarea for the model.
 +
 +Once the requirement sources are configured, they will show up in the //Requirement from// drop-down list:
 +
 +{{wiki:idescreen:ide_requirement_sync_sources.png}}