-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathazure-devops-extension.json
More file actions
167 lines (166 loc) · 6.01 KB
/
azure-devops-extension.json
File metadata and controls
167 lines (166 loc) · 6.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"manifestVersion": 1.0,
"id": "RestDataMappingPicklist",
"publisher": "dedac",
"version": "0.4.0",
"name": "Rest Data Mapping Picklist",
"description": "Load work item values from a specified REST endpoint and map additional REST data to your work item",
"public": true,
"icons": {
"default": "img/Logo.png"
},
"categories": [
"Azure Boards"
],
"targets": [
{
"id": "Microsoft.VisualStudio.Services.Cloud"
}
],
"repository": {
"type": "git",
"uri": "https://github.com/Dedac/RestDataMappingPicklist"
},
"tags": [
"Work Items",
"Work Item Control",
"Picklist",
"Rest",
"Form",
"ServiceNow"
],
"content": {
"details": {
"path": "overview.md"
}
},
"scopes": [
"vso.work",
"vso.work_write"
],
"contributions": [
{
"id": "rest-data-mapping-picklist",
"type": "ms.vss-work-web.work-item-form-control",
"targets": [
"ms.vss-work-web.work-item-form"
],
"properties": {
"name": "Rest Data Mapping Picklist",
"uri": "/dist/selector.html",
"height" : 74,
"inputs": [
{
"id": "FieldName",
"name": "Select the field for this control.",
"description": "The field associated with the control, it will match the value from the rest service's key field.",
"type": "WorkItemField",
"properties": {
"workItemFieldTypes": ["String", "PlainText", "HTML"]
},
"validation": {
"dataType": "String",
"isRequired": true
}
},
{
"id": "RestServiceAddress",
"name": "Rest Service Address",
"description": "The URL for rest service from which you want to load data",
"validation": {
"dataType": "String",
"isRequired": true
}
},
{
"id": "RestServiceKeyField",
"name": "Rest Service Key Field",
"description": "Select the key field from the rest service that matches the control field",
"validation": {
"dataType": "String",
"isRequired": true
}
},
{
"id": "PathToArray",
"name": "JSON Path to the Array",
"description": "path within the returned JSON data to find the array of items listed - often something like 'data.result'",
"validation": {
"isRequired": false,
"dataType": "String"
}
},
{
"id": "RestServiceUserName",
"name": "Rest Service User Name / 'Bearer' / 'Basic'",
"description": "The name of the property to load from the rest service, use 'Bearer' or 'Basic' for token auth",
"validation": {
"dataType": "String",
"isRequired": false
}
},
{
"id": "RestServicePassword",
"name": "Rest Service Password / Token",
"description": "Rest Service Password, passed as a bearer token if the username is 'Bearer'",
"inputMode": "PasswordBox",
"isConfidential": true,
"validation": {
"isRequired": false,
"dataType": "String"
}
},
{
"id": "ErrorMessage",
"name": "Selection Not Found Error message",
"description": "Error message presented when the selected value is not found",
"validation": {
"isRequired": false,
"dataType": "String"
}
},
{
"id": "RestCallParameters",
"name": "Rest Call URL Parameters (JSON format)",
"description": "Additional fields and values to provide to the rest service as URL parameters, use $() to substitute in a field value from the work item",
"inputMode": "TextArea",
"validation": {
"isRequired": false,
"dataType": "String"
}
},
{
"id": "FieldMap",
"name": "Rest Service Field Map (JSON format)",
"description": "Map fields from the rest service fields on the Work Item by mapping them in a JSON format",
"inputMode": "TextArea",
"validation": {
"isRequired": false,
"dataType": "String"
}
},
{
"id": "HideFieldLabel",
"name": "Hide native Field label",
"description": "When checked, the native DevOps field label will not be displayed in the control",
"inputMode": "CheckBox",
"validation": {
"isRequired": false,
"dataType": "Boolean"
}
}
]
}
}
],
"files": [
{
"path": "dist",
"addressable": true
},
{
"path": "img",
"addressable":true
}
]
}