Added ts file for bun testing
Added http to text area box Moved CoD column to match query Alignment
This commit is contained in:
		
							
								
								
									
										160
									
								
								Adaptation/.vscode/tfs.http
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										160
									
								
								Adaptation/.vscode/tfs.http
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,160 @@ | ||||
| @Manufacturing-IT = https://tfs.intra.infineon.com/tfs/ManufacturingIT | ||||
| @Factory-Integration = https://tfs.intra.infineon.com/tfs/FactoryIntegration | ||||
| @userId = phares | ||||
| @ids = 126018, 224543 | ||||
| @Unauthorized-Chase = asdf | ||||
| @Factory-Integration-Phares-1CB1AEFED90C2A4A9A96F9ED9140A95E = asdf | ||||
|  | ||||
| ### Work Items Expand Relations | ||||
|  | ||||
| GET {{Factory-Integration}}/_apis/wit/workitems?ids={{ids}}&$expand=Relations | ||||
| Accept: application/json | ||||
| Authorization: Basic {{Factory-Integration-Phares-1CB1AEFED90C2A4A9A96F9ED9140A95E}} | ||||
|  | ||||
| ### Work Items Updates | ||||
|  | ||||
| GET {{Factory-Integration}}/_apis/wit/workitems/{{ids}}/updates | ||||
| Accept: application/json | ||||
| Authorization: Basic {{Factory-Integration-Phares-1CB1AEFED90C2A4A9A96F9ED9140A95E}} | ||||
|  | ||||
| ### Iterations | ||||
|  | ||||
| GET {{Factory-Integration}}/ART%20SPS/cea9f426-6fb1-4d65-93d5-dbf471056212/_apis/work/teamsettings/iterations? | ||||
| Accept: application/json | ||||
| Authorization: Basic {{Factory-Integration-Phares-1CB1AEFED90C2A4A9A96F9ED9140A95E}} | ||||
|  | ||||
| ### User Entitlements | ||||
|  | ||||
| GET {{Factory-Integration}}/_apis/userEntitlements/{{userId}}?api-version=6.0-preview.3 | ||||
| Authorization: Basic {{Factory-Integration-Phares-1CB1AEFED90C2A4A9A96F9ED9140A95E}} | ||||
| Accept: application/json | ||||
|  | ||||
| ### User Entitlements | ||||
|  | ||||
| GET {{Factory-Integration}}/_apis/userEntitlements?api-version=5.1-preview.2 | ||||
| Authorization: Basic {{Factory-Integration-Phares-1CB1AEFED90C2A4A9A96F9ED9140A95E}} | ||||
| Accept: application/json | ||||
|  | ||||
| ### Work Item Patch | ||||
|  | ||||
| patch {{Manufacturing-IT}}/Mesa_FI/_apis/wit/workitems/382290?api-version=7.0 | ||||
| Authorization: Basic {{Factory-Integration-Phares-1CB1AEFED90C2A4A9A96F9ED9140A95E}} | ||||
| Content-Type: application/json-patch+json | ||||
|  | ||||
| [ | ||||
|   { | ||||
|     "op": "test", | ||||
|     "path": "/rev", | ||||
|     "value": 1 | ||||
|   }, | ||||
|   { | ||||
|     "op": "test", | ||||
|     "path": "/fields/System.CreatedDate", | ||||
|     "value": "2023-10-07T18:51:52.783Z" | ||||
|   }, | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/System.CreatedDate", | ||||
|     "value": "2023-10-07T18:41:52.783Z" | ||||
|   } | ||||
| ] | ||||
|  | ||||
| ### Post Comment | ||||
|  | ||||
| POST {{Manufacturing-IT}}/Mesa_FI/_apis/wit/workitems/382005/comments?api-version=5.1-preview.3 | ||||
| Authorization: Basic {{Unauthorized-Chase}} | ||||
| Content-Type: application/json | ||||
|  | ||||
| { | ||||
|   "text": "Force updated by" | ||||
| } | ||||
|  | ||||
| ### Delete Comment | ||||
|  | ||||
| DELETE {{Manufacturing-IT}}/Mesa_FI/_apis/wit/workitems/382005/comments?api-version=5.1-preview.3 | ||||
| Authorization: Basic {{Unauthorized-Chase}} | ||||
| Content-Type: application/json | ||||
|  | ||||
| ### Work Item Patch WSJF | ||||
|  | ||||
| patch {{Factory-Integration}}/_apis/wit/workitems/292309?api-version=7.0 | ||||
| Authorization: Basic {{Factory-Integration-Phares-1CB1AEFED90C2A4A9A96F9ED9140A95E}} | ||||
| Content-Type: application/json-patch+json | ||||
|  | ||||
| [ | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Custom.WSJF", | ||||
|     "value": "5" | ||||
|   } | ||||
| ] | ||||
|  | ||||
| ### Work Item Patch WSJF-B 100+300+400=800 800/200=4 | ||||
|  | ||||
| patch {{Factory-Integration}}/_apis/wit/workitems/292309?api-version=7.0 | ||||
| Authorization: Basic {{Factory-Integration-Phares-1CB1AEFED90C2A4A9A96F9ED9140A95E}} | ||||
| Content-Type: application/json-patch+json | ||||
|  | ||||
| [ | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Microsoft.VSTS.Common.BusinessValue", | ||||
|     "value": "100" | ||||
|   }, | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Microsoft.VSTS.Scheduling.Effort", | ||||
|     "value": "200" | ||||
|   }, | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Custom.RRminusOE", | ||||
|     "value": "300" | ||||
|   }, | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Microsoft.VSTS.Common.TimeCriticality", | ||||
|     "value": "400" | ||||
|   }, | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Custom.WSJF", | ||||
|     "value": "4" | ||||
|   } | ||||
| ] | ||||
|  | ||||
| ### Work Item Patch WSJF-B 400+400+400=1200 1200/200=6 | ||||
|  | ||||
| patch {{Factory-Integration}}/_apis/wit/workitems/110781?api-version=7.0 | ||||
| Authorization: Basic {{Factory-Integration-Phares-1CB1AEFED90C2A4A9A96F9ED9140A95E}} | ||||
| Content-Type: application/json-patch+json | ||||
|  | ||||
| [ | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Microsoft.VSTS.Common.BusinessValue", | ||||
|     "value": "400" | ||||
|   }, | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Microsoft.VSTS.Scheduling.Effort", | ||||
|     "value": "200" | ||||
|   }, | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Custom.RRminusOE", | ||||
|     "value": "400" | ||||
|   }, | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Microsoft.VSTS.Common.TimeCriticality", | ||||
|     "value": "400" | ||||
|   }, | ||||
|   { | ||||
|     "op": "replace", | ||||
|     "path": "/fields/Custom.WSJF", | ||||
|     "value": "6" | ||||
|   } | ||||
| ] | ||||
|  | ||||
| ### | ||||
		Reference in New Issue
	
	Block a user