@forge/manifest 2.1.0 → 2.2.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/out/schema/manifest-schema.json +331 -294
- package/out/schema/manifest.d.ts +316 -298
- package/out/scopes/shipyard-scopes.json +191 -0
- package/out/text/errors.d.ts +4 -0
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +5 -1
- package/out/types/index.d.ts +0 -1
- package/out/types/index.d.ts.map +1 -1
- package/out/types/index.js +0 -1
- package/out/validators/modules-validator.d.ts.map +1 -1
- package/out/validators/modules-validator.js +16 -0
- package/out/validators/permissions-validator.d.ts.map +1 -1
- package/out/validators/permissions-validator.js +3 -2
- package/out/validators/providers-validator.d.ts +1 -0
- package/out/validators/providers-validator.d.ts.map +1 -1
- package/out/validators/providers-validator.js +16 -0
- package/package.json +1 -1
- package/out/types/scopes-types.d.ts +0 -2
- package/out/types/scopes-types.d.ts.map +0 -1
- package/out/types/scopes-types.js +0 -200
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 2.2.0-next.3
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3e56133: replace hardcoded scopes with shipyard poller artifacts
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- cc9264b: Update manifest definitions
|
|
12
|
+
- edaa58e: Update manifest definitions
|
|
13
|
+
|
|
14
|
+
## 2.2.0-next.2
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 4acce41: Allow both Dynamic and Static profile retrievers in External Auth
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- 0e18c6b: Update manifest definitions
|
|
23
|
+
- 69007db: Update manifest definitions
|
|
24
|
+
|
|
25
|
+
## 2.2.0-next.1
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- 9a10349: replace hardcoded scopes with shipyard poller artifacts
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- 0d25702: Update manifest definitions
|
|
34
|
+
- 7650b85: Update manifest definitions
|
|
35
|
+
|
|
36
|
+
## 2.1.1-next.0
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- a98977f: Add manifest validation for search aliases in Jira custom fields
|
|
41
|
+
|
|
3
42
|
## 2.1.0
|
|
4
43
|
|
|
5
44
|
### Minor Changes
|
|
@@ -2706,10 +2706,10 @@
|
|
|
2706
2706
|
"type": "object",
|
|
2707
2707
|
"anyOf": [
|
|
2708
2708
|
{
|
|
2709
|
-
"$ref": "#/definitions/
|
|
2709
|
+
"$ref": "#/definitions/singleCondition"
|
|
2710
2710
|
},
|
|
2711
2711
|
{
|
|
2712
|
-
"$ref": "#/definitions/
|
|
2712
|
+
"$ref": "#/definitions/compositeCondition"
|
|
2713
2713
|
}
|
|
2714
2714
|
]
|
|
2715
2715
|
},
|
|
@@ -2777,10 +2777,10 @@
|
|
|
2777
2777
|
"type": "object",
|
|
2778
2778
|
"anyOf": [
|
|
2779
2779
|
{
|
|
2780
|
-
"$ref": "#/definitions/
|
|
2780
|
+
"$ref": "#/definitions/compositeCondition"
|
|
2781
2781
|
},
|
|
2782
2782
|
{
|
|
2783
|
-
"$ref": "#/definitions/
|
|
2783
|
+
"$ref": "#/definitions/singleCondition"
|
|
2784
2784
|
}
|
|
2785
2785
|
]
|
|
2786
2786
|
},
|
|
@@ -2832,10 +2832,10 @@
|
|
|
2832
2832
|
"type": "object",
|
|
2833
2833
|
"anyOf": [
|
|
2834
2834
|
{
|
|
2835
|
-
"$ref": "#/definitions/
|
|
2835
|
+
"$ref": "#/definitions/compositeCondition"
|
|
2836
2836
|
},
|
|
2837
2837
|
{
|
|
2838
|
-
"$ref": "#/definitions/
|
|
2838
|
+
"$ref": "#/definitions/singleCondition"
|
|
2839
2839
|
}
|
|
2840
2840
|
]
|
|
2841
2841
|
},
|
|
@@ -2954,10 +2954,10 @@
|
|
|
2954
2954
|
"type": "object",
|
|
2955
2955
|
"anyOf": [
|
|
2956
2956
|
{
|
|
2957
|
-
"$ref": "#/definitions/
|
|
2957
|
+
"$ref": "#/definitions/compositeCondition"
|
|
2958
2958
|
},
|
|
2959
2959
|
{
|
|
2960
|
-
"$ref": "#/definitions/
|
|
2960
|
+
"$ref": "#/definitions/singleCondition"
|
|
2961
2961
|
}
|
|
2962
2962
|
]
|
|
2963
2963
|
},
|
|
@@ -3076,7 +3076,6 @@
|
|
|
3076
3076
|
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
3077
3077
|
},
|
|
3078
3078
|
"url": {
|
|
3079
|
-
"format": "uri-template",
|
|
3080
3079
|
"type": "string",
|
|
3081
3080
|
"fieldDescription": "\n\nSpecifies the destination of the web item. The interpretation of this field depends on the value of the\n <pre>context</pre> field.\n\n <p>\n This field is required if the <code>target</code> of the item is not a\n <a href=\"../dialog/\"><code>Dialog Module</code></a>.\n </p>\n\n Your add-on can receive [additional context](../../context-parameters/) from the application by\n using variable tokens in the URL attribute.\n\n"
|
|
3082
3081
|
},
|
|
@@ -3249,6 +3248,33 @@
|
|
|
3249
3248
|
"items": {
|
|
3250
3249
|
"type": "object",
|
|
3251
3250
|
"anyOf": [
|
|
3251
|
+
{
|
|
3252
|
+
"properties": {
|
|
3253
|
+
"condition": {
|
|
3254
|
+
"maxLength": 100,
|
|
3255
|
+
"type": "string",
|
|
3256
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
3257
|
+
},
|
|
3258
|
+
"invert": {
|
|
3259
|
+
"type": "boolean",
|
|
3260
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
3261
|
+
"defaultValue": "false"
|
|
3262
|
+
},
|
|
3263
|
+
"params": {
|
|
3264
|
+
"additionalProperties": true,
|
|
3265
|
+
"type": "object",
|
|
3266
|
+
"fieldTitle": "Object",
|
|
3267
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
3268
|
+
}
|
|
3269
|
+
},
|
|
3270
|
+
"required": [
|
|
3271
|
+
"condition"
|
|
3272
|
+
],
|
|
3273
|
+
"shortClassName": "singleConditionBean",
|
|
3274
|
+
"type": "object",
|
|
3275
|
+
"title": "Single Condition",
|
|
3276
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
3277
|
+
},
|
|
3252
3278
|
{
|
|
3253
3279
|
"properties": {
|
|
3254
3280
|
"conditions": {
|
|
@@ -3281,33 +3307,6 @@
|
|
|
3281
3307
|
"type": "object",
|
|
3282
3308
|
"title": "Composite Condition",
|
|
3283
3309
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"properties": {
|
|
3287
|
-
"condition": {
|
|
3288
|
-
"maxLength": 100,
|
|
3289
|
-
"type": "string",
|
|
3290
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
3291
|
-
},
|
|
3292
|
-
"invert": {
|
|
3293
|
-
"type": "boolean",
|
|
3294
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
3295
|
-
"defaultValue": "false"
|
|
3296
|
-
},
|
|
3297
|
-
"params": {
|
|
3298
|
-
"additionalProperties": true,
|
|
3299
|
-
"type": "object",
|
|
3300
|
-
"fieldTitle": "Object",
|
|
3301
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
3302
|
-
}
|
|
3303
|
-
},
|
|
3304
|
-
"required": [
|
|
3305
|
-
"condition"
|
|
3306
|
-
],
|
|
3307
|
-
"shortClassName": "singleConditionBean",
|
|
3308
|
-
"type": "object",
|
|
3309
|
-
"title": "Single Condition",
|
|
3310
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
3311
3310
|
}
|
|
3312
3311
|
]
|
|
3313
3312
|
},
|
|
@@ -3361,10 +3360,10 @@
|
|
|
3361
3360
|
"type": "object",
|
|
3362
3361
|
"anyOf": [
|
|
3363
3362
|
{
|
|
3364
|
-
"$ref": "#/definitions/
|
|
3363
|
+
"$ref": "#/definitions/singleCondition"
|
|
3365
3364
|
},
|
|
3366
3365
|
{
|
|
3367
|
-
"$ref": "#/definitions/
|
|
3366
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3368
3367
|
}
|
|
3369
3368
|
]
|
|
3370
3369
|
},
|
|
@@ -3406,7 +3405,6 @@
|
|
|
3406
3405
|
"defaultValue": "false"
|
|
3407
3406
|
},
|
|
3408
3407
|
"url": {
|
|
3409
|
-
"format": "uri",
|
|
3410
3408
|
"type": "string",
|
|
3411
3409
|
"fieldDescription": "\n\nSpecifies the URL of the content displayed in the dialog. The URL can be absolute or relative to either the\n product URL or the add-on's base URL, depending on the _context_ attribute.\n\n Your add-on can receive <a href=\"../../context-parameters/\">additional context</a> from the application by\n using variable tokens in the URL attribute.\n\n"
|
|
3412
3410
|
},
|
|
@@ -3516,12 +3514,10 @@
|
|
|
3516
3514
|
"items": {
|
|
3517
3515
|
"properties": {
|
|
3518
3516
|
"homeUrl": {
|
|
3519
|
-
"format": "uri-template",
|
|
3520
3517
|
"type": "string",
|
|
3521
3518
|
"fieldDescription": "\n\nURL to the provider's homepage\n\n"
|
|
3522
3519
|
},
|
|
3523
3520
|
"documentationUrl": {
|
|
3524
|
-
"format": "uri-template",
|
|
3525
3521
|
"type": "string",
|
|
3526
3522
|
"fieldDescription": "\n\nOptional URL to documentation about the provider's Jira integration\n\n"
|
|
3527
3523
|
},
|
|
@@ -3534,7 +3530,6 @@
|
|
|
3534
3530
|
"fieldDescription": "\n\nOptional actions that can be performed by Jira users, e.g., link an existing flag, create a new flag, etc.\n\n"
|
|
3535
3531
|
},
|
|
3536
3532
|
"logoUrl": {
|
|
3537
|
-
"format": "uri-template",
|
|
3538
3533
|
"type": "string",
|
|
3539
3534
|
"fieldDescription": "\n\nOptional URL to the provider's logo, which will be displayed in the UI\n\n"
|
|
3540
3535
|
},
|
|
@@ -3611,12 +3606,10 @@
|
|
|
3611
3606
|
"items": {
|
|
3612
3607
|
"properties": {
|
|
3613
3608
|
"homeUrl": {
|
|
3614
|
-
"format": "uri-template",
|
|
3615
3609
|
"type": "string",
|
|
3616
3610
|
"fieldDescription": "\n\nURL to the provider's homepage\n\n"
|
|
3617
3611
|
},
|
|
3618
3612
|
"documentationUrl": {
|
|
3619
|
-
"format": "uri-template",
|
|
3620
3613
|
"type": "string",
|
|
3621
3614
|
"fieldDescription": "\n\nOptional URL to documentation about the provider's Jira integration\n\n"
|
|
3622
3615
|
},
|
|
@@ -3629,7 +3622,6 @@
|
|
|
3629
3622
|
"listDeployments": {
|
|
3630
3623
|
"properties": {
|
|
3631
3624
|
"templateUrl": {
|
|
3632
|
-
"format": "uri-template",
|
|
3633
3625
|
"type": "string",
|
|
3634
3626
|
"fieldDescription": "\n\n"
|
|
3635
3627
|
}
|
|
@@ -3649,7 +3641,6 @@
|
|
|
3649
3641
|
"fieldDescription": "\n\nOptional actions that can be performed by Jira users, e.g., list all deployments associated with the issue.\n\n"
|
|
3650
3642
|
},
|
|
3651
3643
|
"logoUrl": {
|
|
3652
|
-
"format": "uri-template",
|
|
3653
3644
|
"type": "string",
|
|
3654
3645
|
"fieldDescription": "\n\nOptional URL to the provider's logo, which will be displayed in the UI\n\n"
|
|
3655
3646
|
},
|
|
@@ -4116,12 +4107,10 @@
|
|
|
4116
4107
|
"fieldDescription": "\n\nOptional actions that can be performed by Jira users, e.g., create branch, etc.\n\n"
|
|
4117
4108
|
},
|
|
4118
4109
|
"url": {
|
|
4119
|
-
"format": "uri-template",
|
|
4120
4110
|
"type": "string",
|
|
4121
4111
|
"fieldDescription": "\n\nA URL to the development tool\n\n"
|
|
4122
4112
|
},
|
|
4123
4113
|
"logoUrl": {
|
|
4124
|
-
"format": "uri-template",
|
|
4125
4114
|
"type": "string",
|
|
4126
4115
|
"fieldDescription": "\n\nThe logo for the development tool, will be displayed in an area 16 by 16 pixels\n\n"
|
|
4127
4116
|
},
|
|
@@ -4587,12 +4576,10 @@
|
|
|
4587
4576
|
"items": {
|
|
4588
4577
|
"properties": {
|
|
4589
4578
|
"homeUrl": {
|
|
4590
|
-
"format": "uri-template",
|
|
4591
4579
|
"type": "string",
|
|
4592
4580
|
"fieldDescription": "\n\nURL to the provider's homepage\n\n"
|
|
4593
4581
|
},
|
|
4594
4582
|
"documentationUrl": {
|
|
4595
|
-
"format": "uri-template",
|
|
4596
4583
|
"type": "string",
|
|
4597
4584
|
"fieldDescription": "\n\nOptional URL to documentation about the provider's Jira integration\n\n"
|
|
4598
4585
|
},
|
|
@@ -4608,7 +4595,6 @@
|
|
|
4608
4595
|
"fieldDescription": "\n\nOptional actions that can be performed by Jira users\n\n"
|
|
4609
4596
|
},
|
|
4610
4597
|
"logoUrl": {
|
|
4611
|
-
"format": "uri-template",
|
|
4612
4598
|
"type": "string",
|
|
4613
4599
|
"fieldDescription": "\n\nOptional URL to the provider's logo, which will be displayed in the UI\n\n"
|
|
4614
4600
|
},
|
|
@@ -5041,10 +5027,10 @@
|
|
|
5041
5027
|
"type": "object",
|
|
5042
5028
|
"anyOf": [
|
|
5043
5029
|
{
|
|
5044
|
-
"$ref": "#/definitions/
|
|
5030
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5045
5031
|
},
|
|
5046
5032
|
{
|
|
5047
|
-
"$ref": "#/definitions/
|
|
5033
|
+
"$ref": "#/definitions/singleCondition"
|
|
5048
5034
|
}
|
|
5049
5035
|
]
|
|
5050
5036
|
},
|
|
@@ -5167,10 +5153,10 @@
|
|
|
5167
5153
|
"type": "object",
|
|
5168
5154
|
"anyOf": [
|
|
5169
5155
|
{
|
|
5170
|
-
"$ref": "#/definitions/
|
|
5156
|
+
"$ref": "#/definitions/singleCondition"
|
|
5171
5157
|
},
|
|
5172
5158
|
{
|
|
5173
|
-
"$ref": "#/definitions/
|
|
5159
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5174
5160
|
}
|
|
5175
5161
|
]
|
|
5176
5162
|
},
|
|
@@ -5289,10 +5275,10 @@
|
|
|
5289
5275
|
"type": "object",
|
|
5290
5276
|
"anyOf": [
|
|
5291
5277
|
{
|
|
5292
|
-
"$ref": "#/definitions/
|
|
5278
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5293
5279
|
},
|
|
5294
5280
|
{
|
|
5295
|
-
"$ref": "#/definitions/
|
|
5281
|
+
"$ref": "#/definitions/singleCondition"
|
|
5296
5282
|
}
|
|
5297
5283
|
]
|
|
5298
5284
|
},
|
|
@@ -5420,22 +5406,6 @@
|
|
|
5420
5406
|
"type": "object",
|
|
5421
5407
|
"fieldDescription": "\n\n<p>An object containing options which vary based on the type of web item target you are implementing.</p>\n\n <p>Currently-allowed options are:</p>\n <ul>\n <li><a href=\"../inline-dialog-options/\">Inline Dialog Options</a> when type is \"inlinedialog\", and</li>\n <li><a href=\"../dialog-options/\">Dialog Options</a> when type is \"dialog\"</li>\n <li><a href=\"../dialog-module-options/\">Dialog Module Options</a> when type is \"dialogmodule\"</li>\n </ul>\n\n",
|
|
5422
5408
|
"anyOf": [
|
|
5423
|
-
{
|
|
5424
|
-
"properties": {
|
|
5425
|
-
"key": {
|
|
5426
|
-
"maxLength": 100,
|
|
5427
|
-
"type": "string",
|
|
5428
|
-
"fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
|
|
5429
|
-
}
|
|
5430
|
-
},
|
|
5431
|
-
"required": [
|
|
5432
|
-
"key"
|
|
5433
|
-
],
|
|
5434
|
-
"shortClassName": "dialogModuleOptions",
|
|
5435
|
-
"type": "object",
|
|
5436
|
-
"title": "Dialog Module Options",
|
|
5437
|
-
"description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
|
|
5438
|
-
},
|
|
5439
5409
|
{
|
|
5440
5410
|
"properties": {
|
|
5441
5411
|
"size": {
|
|
@@ -5527,6 +5497,22 @@
|
|
|
5527
5497
|
"type": "object",
|
|
5528
5498
|
"title": "Inline Dialog Options",
|
|
5529
5499
|
"description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
|
|
5500
|
+
},
|
|
5501
|
+
{
|
|
5502
|
+
"properties": {
|
|
5503
|
+
"key": {
|
|
5504
|
+
"maxLength": 100,
|
|
5505
|
+
"type": "string",
|
|
5506
|
+
"fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
|
|
5507
|
+
}
|
|
5508
|
+
},
|
|
5509
|
+
"required": [
|
|
5510
|
+
"key"
|
|
5511
|
+
],
|
|
5512
|
+
"shortClassName": "dialogModuleOptions",
|
|
5513
|
+
"type": "object",
|
|
5514
|
+
"title": "Dialog Module Options",
|
|
5515
|
+
"description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
|
|
5530
5516
|
}
|
|
5531
5517
|
]
|
|
5532
5518
|
},
|
|
@@ -5583,6 +5569,33 @@
|
|
|
5583
5569
|
"items": {
|
|
5584
5570
|
"type": "object",
|
|
5585
5571
|
"anyOf": [
|
|
5572
|
+
{
|
|
5573
|
+
"properties": {
|
|
5574
|
+
"condition": {
|
|
5575
|
+
"maxLength": 100,
|
|
5576
|
+
"type": "string",
|
|
5577
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
5578
|
+
},
|
|
5579
|
+
"invert": {
|
|
5580
|
+
"type": "boolean",
|
|
5581
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
5582
|
+
"defaultValue": "false"
|
|
5583
|
+
},
|
|
5584
|
+
"params": {
|
|
5585
|
+
"additionalProperties": true,
|
|
5586
|
+
"type": "object",
|
|
5587
|
+
"fieldTitle": "Object",
|
|
5588
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
5589
|
+
}
|
|
5590
|
+
},
|
|
5591
|
+
"required": [
|
|
5592
|
+
"condition"
|
|
5593
|
+
],
|
|
5594
|
+
"shortClassName": "singleConditionBean",
|
|
5595
|
+
"type": "object",
|
|
5596
|
+
"title": "Single Condition",
|
|
5597
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
5598
|
+
},
|
|
5586
5599
|
{
|
|
5587
5600
|
"properties": {
|
|
5588
5601
|
"conditions": {
|
|
@@ -5590,10 +5603,10 @@
|
|
|
5590
5603
|
"type": "object",
|
|
5591
5604
|
"anyOf": [
|
|
5592
5605
|
{
|
|
5593
|
-
"$ref": "
|
|
5606
|
+
"$ref": "#/definitions/singleCondition"
|
|
5594
5607
|
},
|
|
5595
5608
|
{
|
|
5596
|
-
"$ref": "
|
|
5609
|
+
"$ref": "#"
|
|
5597
5610
|
}
|
|
5598
5611
|
]
|
|
5599
5612
|
},
|
|
@@ -5615,33 +5628,6 @@
|
|
|
5615
5628
|
"type": "object",
|
|
5616
5629
|
"title": "Composite Condition",
|
|
5617
5630
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
5618
|
-
},
|
|
5619
|
-
{
|
|
5620
|
-
"properties": {
|
|
5621
|
-
"condition": {
|
|
5622
|
-
"maxLength": 100,
|
|
5623
|
-
"type": "string",
|
|
5624
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
5625
|
-
},
|
|
5626
|
-
"invert": {
|
|
5627
|
-
"type": "boolean",
|
|
5628
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
5629
|
-
"defaultValue": "false"
|
|
5630
|
-
},
|
|
5631
|
-
"params": {
|
|
5632
|
-
"additionalProperties": true,
|
|
5633
|
-
"type": "object",
|
|
5634
|
-
"fieldTitle": "Object",
|
|
5635
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
5636
|
-
}
|
|
5637
|
-
},
|
|
5638
|
-
"required": [
|
|
5639
|
-
"condition"
|
|
5640
|
-
],
|
|
5641
|
-
"shortClassName": "singleConditionBean",
|
|
5642
|
-
"type": "object",
|
|
5643
|
-
"title": "Single Condition",
|
|
5644
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
5645
5631
|
}
|
|
5646
5632
|
]
|
|
5647
5633
|
},
|
|
@@ -5695,10 +5681,10 @@
|
|
|
5695
5681
|
"type": "object",
|
|
5696
5682
|
"anyOf": [
|
|
5697
5683
|
{
|
|
5698
|
-
"$ref": "#/definitions/
|
|
5684
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5699
5685
|
},
|
|
5700
5686
|
{
|
|
5701
|
-
"$ref": "#/definitions/
|
|
5687
|
+
"$ref": "#/definitions/singleCondition"
|
|
5702
5688
|
}
|
|
5703
5689
|
]
|
|
5704
5690
|
},
|
|
@@ -5846,33 +5832,6 @@
|
|
|
5846
5832
|
"items": {
|
|
5847
5833
|
"type": "object",
|
|
5848
5834
|
"anyOf": [
|
|
5849
|
-
{
|
|
5850
|
-
"properties": {
|
|
5851
|
-
"condition": {
|
|
5852
|
-
"maxLength": 100,
|
|
5853
|
-
"type": "string",
|
|
5854
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
5855
|
-
},
|
|
5856
|
-
"invert": {
|
|
5857
|
-
"type": "boolean",
|
|
5858
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
5859
|
-
"defaultValue": "false"
|
|
5860
|
-
},
|
|
5861
|
-
"params": {
|
|
5862
|
-
"additionalProperties": true,
|
|
5863
|
-
"type": "object",
|
|
5864
|
-
"fieldTitle": "Object",
|
|
5865
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
5866
|
-
}
|
|
5867
|
-
},
|
|
5868
|
-
"required": [
|
|
5869
|
-
"condition"
|
|
5870
|
-
],
|
|
5871
|
-
"shortClassName": "singleConditionBean",
|
|
5872
|
-
"type": "object",
|
|
5873
|
-
"title": "Single Condition",
|
|
5874
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
5875
|
-
},
|
|
5876
5835
|
{
|
|
5877
5836
|
"properties": {
|
|
5878
5837
|
"conditions": {
|
|
@@ -5880,10 +5839,10 @@
|
|
|
5880
5839
|
"type": "object",
|
|
5881
5840
|
"anyOf": [
|
|
5882
5841
|
{
|
|
5883
|
-
"$ref": "
|
|
5842
|
+
"$ref": "#/definitions/singleCondition"
|
|
5884
5843
|
},
|
|
5885
5844
|
{
|
|
5886
|
-
"$ref": "
|
|
5845
|
+
"$ref": "#"
|
|
5887
5846
|
}
|
|
5888
5847
|
]
|
|
5889
5848
|
},
|
|
@@ -5905,6 +5864,33 @@
|
|
|
5905
5864
|
"type": "object",
|
|
5906
5865
|
"title": "Composite Condition",
|
|
5907
5866
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
5867
|
+
},
|
|
5868
|
+
{
|
|
5869
|
+
"properties": {
|
|
5870
|
+
"condition": {
|
|
5871
|
+
"maxLength": 100,
|
|
5872
|
+
"type": "string",
|
|
5873
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
5874
|
+
},
|
|
5875
|
+
"invert": {
|
|
5876
|
+
"type": "boolean",
|
|
5877
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
5878
|
+
"defaultValue": "false"
|
|
5879
|
+
},
|
|
5880
|
+
"params": {
|
|
5881
|
+
"additionalProperties": true,
|
|
5882
|
+
"type": "object",
|
|
5883
|
+
"fieldTitle": "Object",
|
|
5884
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
5885
|
+
}
|
|
5886
|
+
},
|
|
5887
|
+
"required": [
|
|
5888
|
+
"condition"
|
|
5889
|
+
],
|
|
5890
|
+
"shortClassName": "singleConditionBean",
|
|
5891
|
+
"type": "object",
|
|
5892
|
+
"title": "Single Condition",
|
|
5893
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
5908
5894
|
}
|
|
5909
5895
|
]
|
|
5910
5896
|
},
|
|
@@ -6180,23 +6166,55 @@
|
|
|
6180
6166
|
"anyOf": [
|
|
6181
6167
|
{
|
|
6182
6168
|
"properties": {
|
|
6183
|
-
"
|
|
6184
|
-
"
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6169
|
+
"macroParameter": {
|
|
6170
|
+
"maxLength": 100,
|
|
6171
|
+
"type": "string",
|
|
6172
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6173
|
+
},
|
|
6174
|
+
"type": {
|
|
6175
|
+
"enum": [
|
|
6176
|
+
"text",
|
|
6177
|
+
"TEXT"
|
|
6178
|
+
],
|
|
6179
|
+
"type": "string",
|
|
6180
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6181
|
+
},
|
|
6182
|
+
"key": {
|
|
6183
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6184
|
+
"maxLength": 100,
|
|
6185
|
+
"type": "string",
|
|
6186
|
+
"fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
|
|
6187
|
+
}
|
|
6188
|
+
},
|
|
6189
|
+
"required": [
|
|
6190
|
+
"macroParameter",
|
|
6191
|
+
"type",
|
|
6192
|
+
"key"
|
|
6193
|
+
],
|
|
6194
|
+
"shortClassName": "textControlBean",
|
|
6195
|
+
"type": "object",
|
|
6196
|
+
"title": "TextControl",
|
|
6197
|
+
"description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6198
|
+
},
|
|
6199
|
+
{
|
|
6200
|
+
"properties": {
|
|
6201
|
+
"controls": {
|
|
6202
|
+
"items": {
|
|
6203
|
+
"properties": {
|
|
6204
|
+
"label": {
|
|
6205
|
+
"$ref": "#/definitions/i18nProperty",
|
|
6206
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6207
|
+
},
|
|
6208
|
+
"type": {
|
|
6209
|
+
"enum": [
|
|
6210
|
+
"button",
|
|
6211
|
+
"BUTTON"
|
|
6212
|
+
],
|
|
6213
|
+
"type": "string",
|
|
6214
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
6215
|
+
},
|
|
6216
|
+
"key": {
|
|
6217
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6200
6218
|
"maxLength": 100,
|
|
6201
6219
|
"type": "string",
|
|
6202
6220
|
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
@@ -6334,38 +6352,6 @@
|
|
|
6334
6352
|
"type": "object",
|
|
6335
6353
|
"title": "ToggleGroup",
|
|
6336
6354
|
"description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
6337
|
-
},
|
|
6338
|
-
{
|
|
6339
|
-
"properties": {
|
|
6340
|
-
"macroParameter": {
|
|
6341
|
-
"maxLength": 100,
|
|
6342
|
-
"type": "string",
|
|
6343
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6344
|
-
},
|
|
6345
|
-
"type": {
|
|
6346
|
-
"enum": [
|
|
6347
|
-
"text",
|
|
6348
|
-
"TEXT"
|
|
6349
|
-
],
|
|
6350
|
-
"type": "string",
|
|
6351
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6352
|
-
},
|
|
6353
|
-
"key": {
|
|
6354
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6355
|
-
"maxLength": 100,
|
|
6356
|
-
"type": "string",
|
|
6357
|
-
"fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
|
|
6358
|
-
}
|
|
6359
|
-
},
|
|
6360
|
-
"required": [
|
|
6361
|
-
"macroParameter",
|
|
6362
|
-
"type",
|
|
6363
|
-
"key"
|
|
6364
|
-
],
|
|
6365
|
-
"shortClassName": "textControlBean",
|
|
6366
|
-
"type": "object",
|
|
6367
|
-
"title": "TextControl",
|
|
6368
|
-
"description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6369
6355
|
}
|
|
6370
6356
|
]
|
|
6371
6357
|
},
|
|
@@ -6660,70 +6646,6 @@
|
|
|
6660
6646
|
"items": {
|
|
6661
6647
|
"type": "object",
|
|
6662
6648
|
"anyOf": [
|
|
6663
|
-
{
|
|
6664
|
-
"properties": {
|
|
6665
|
-
"macroParameter": {
|
|
6666
|
-
"maxLength": 100,
|
|
6667
|
-
"type": "string",
|
|
6668
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6669
|
-
},
|
|
6670
|
-
"type": {
|
|
6671
|
-
"enum": [
|
|
6672
|
-
"text",
|
|
6673
|
-
"TEXT"
|
|
6674
|
-
],
|
|
6675
|
-
"type": "string",
|
|
6676
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6677
|
-
},
|
|
6678
|
-
"key": {
|
|
6679
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6680
|
-
"maxLength": 100,
|
|
6681
|
-
"type": "string",
|
|
6682
|
-
"fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
|
|
6683
|
-
}
|
|
6684
|
-
},
|
|
6685
|
-
"required": [
|
|
6686
|
-
"macroParameter",
|
|
6687
|
-
"type",
|
|
6688
|
-
"key"
|
|
6689
|
-
],
|
|
6690
|
-
"shortClassName": "textControlBean",
|
|
6691
|
-
"type": "object",
|
|
6692
|
-
"title": "TextControl",
|
|
6693
|
-
"description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6694
|
-
},
|
|
6695
|
-
{
|
|
6696
|
-
"properties": {
|
|
6697
|
-
"label": {
|
|
6698
|
-
"$ref": "#/definitions/i18nProperty",
|
|
6699
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6700
|
-
},
|
|
6701
|
-
"type": {
|
|
6702
|
-
"enum": [
|
|
6703
|
-
"button",
|
|
6704
|
-
"BUTTON"
|
|
6705
|
-
],
|
|
6706
|
-
"type": "string",
|
|
6707
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
6708
|
-
},
|
|
6709
|
-
"key": {
|
|
6710
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6711
|
-
"maxLength": 100,
|
|
6712
|
-
"type": "string",
|
|
6713
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
6714
|
-
}
|
|
6715
|
-
},
|
|
6716
|
-
"required": [
|
|
6717
|
-
"label",
|
|
6718
|
-
"type",
|
|
6719
|
-
"key"
|
|
6720
|
-
],
|
|
6721
|
-
"additionalProperties": true,
|
|
6722
|
-
"shortClassName": "buttonControlBean",
|
|
6723
|
-
"type": "object",
|
|
6724
|
-
"title": "ButtonControl",
|
|
6725
|
-
"description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6726
|
-
},
|
|
6727
6649
|
{
|
|
6728
6650
|
"properties": {
|
|
6729
6651
|
"controls": {
|
|
@@ -6780,6 +6702,38 @@
|
|
|
6780
6702
|
"title": "ControlGroup",
|
|
6781
6703
|
"description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
6782
6704
|
},
|
|
6705
|
+
{
|
|
6706
|
+
"properties": {
|
|
6707
|
+
"macroParameter": {
|
|
6708
|
+
"maxLength": 100,
|
|
6709
|
+
"type": "string",
|
|
6710
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6711
|
+
},
|
|
6712
|
+
"type": {
|
|
6713
|
+
"enum": [
|
|
6714
|
+
"text",
|
|
6715
|
+
"TEXT"
|
|
6716
|
+
],
|
|
6717
|
+
"type": "string",
|
|
6718
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6719
|
+
},
|
|
6720
|
+
"key": {
|
|
6721
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6722
|
+
"maxLength": 100,
|
|
6723
|
+
"type": "string",
|
|
6724
|
+
"fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
|
|
6725
|
+
}
|
|
6726
|
+
},
|
|
6727
|
+
"required": [
|
|
6728
|
+
"macroParameter",
|
|
6729
|
+
"type",
|
|
6730
|
+
"key"
|
|
6731
|
+
],
|
|
6732
|
+
"shortClassName": "textControlBean",
|
|
6733
|
+
"type": "object",
|
|
6734
|
+
"title": "TextControl",
|
|
6735
|
+
"description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6736
|
+
},
|
|
6783
6737
|
{
|
|
6784
6738
|
"properties": {
|
|
6785
6739
|
"controls": {
|
|
@@ -6848,6 +6802,38 @@
|
|
|
6848
6802
|
"type": "object",
|
|
6849
6803
|
"title": "ToggleGroup",
|
|
6850
6804
|
"description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
6805
|
+
},
|
|
6806
|
+
{
|
|
6807
|
+
"properties": {
|
|
6808
|
+
"label": {
|
|
6809
|
+
"$ref": "#/definitions/i18nProperty",
|
|
6810
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6811
|
+
},
|
|
6812
|
+
"type": {
|
|
6813
|
+
"enum": [
|
|
6814
|
+
"button",
|
|
6815
|
+
"BUTTON"
|
|
6816
|
+
],
|
|
6817
|
+
"type": "string",
|
|
6818
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
6819
|
+
},
|
|
6820
|
+
"key": {
|
|
6821
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6822
|
+
"maxLength": 100,
|
|
6823
|
+
"type": "string",
|
|
6824
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
6825
|
+
}
|
|
6826
|
+
},
|
|
6827
|
+
"required": [
|
|
6828
|
+
"label",
|
|
6829
|
+
"type",
|
|
6830
|
+
"key"
|
|
6831
|
+
],
|
|
6832
|
+
"additionalProperties": true,
|
|
6833
|
+
"shortClassName": "buttonControlBean",
|
|
6834
|
+
"type": "object",
|
|
6835
|
+
"title": "ButtonControl",
|
|
6836
|
+
"description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6851
6837
|
}
|
|
6852
6838
|
]
|
|
6853
6839
|
},
|
|
@@ -7050,10 +7036,10 @@
|
|
|
7050
7036
|
"type": "object",
|
|
7051
7037
|
"anyOf": [
|
|
7052
7038
|
{
|
|
7053
|
-
"$ref": "#/definitions/
|
|
7039
|
+
"$ref": "#/definitions/compositeCondition"
|
|
7054
7040
|
},
|
|
7055
7041
|
{
|
|
7056
|
-
"$ref": "#/definitions/
|
|
7042
|
+
"$ref": "#/definitions/singleCondition"
|
|
7057
7043
|
}
|
|
7058
7044
|
]
|
|
7059
7045
|
},
|
|
@@ -7663,24 +7649,13 @@
|
|
|
7663
7649
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
7664
7650
|
}
|
|
7665
7651
|
},
|
|
7666
|
-
"profileRetriever": {
|
|
7667
|
-
"type": "object",
|
|
7668
|
-
"required": [
|
|
7669
|
-
"function"
|
|
7670
|
-
],
|
|
7671
|
-
"additionalProperties": false,
|
|
7672
|
-
"properties": {
|
|
7673
|
-
"function": {
|
|
7674
|
-
"$ref": "#/definitions/ModuleKeySchema"
|
|
7675
|
-
}
|
|
7676
|
-
}
|
|
7677
|
-
},
|
|
7678
7652
|
"actions": {
|
|
7679
7653
|
"type": "object",
|
|
7680
7654
|
"required": [
|
|
7681
7655
|
"authorization",
|
|
7682
7656
|
"exchange",
|
|
7683
|
-
"revokeToken"
|
|
7657
|
+
"revokeToken",
|
|
7658
|
+
"retrieveProfile"
|
|
7684
7659
|
],
|
|
7685
7660
|
"additionalProperties": false,
|
|
7686
7661
|
"properties": {
|
|
@@ -7692,6 +7667,72 @@
|
|
|
7692
7667
|
},
|
|
7693
7668
|
"revokeToken": {
|
|
7694
7669
|
"$ref": "#/definitions/ActionDefinition"
|
|
7670
|
+
},
|
|
7671
|
+
"retrieveProfile": {
|
|
7672
|
+
"oneOf": [
|
|
7673
|
+
{
|
|
7674
|
+
"type": "object",
|
|
7675
|
+
"title": "DynamicProfileRetriever",
|
|
7676
|
+
"description": "Use a Forge function to map the fields to profile information",
|
|
7677
|
+
"required": [
|
|
7678
|
+
"remote",
|
|
7679
|
+
"path",
|
|
7680
|
+
"function"
|
|
7681
|
+
],
|
|
7682
|
+
"additionalProperties": false,
|
|
7683
|
+
"properties": {
|
|
7684
|
+
"remote": {
|
|
7685
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
7686
|
+
},
|
|
7687
|
+
"path": {
|
|
7688
|
+
"type": "string",
|
|
7689
|
+
"maxLength": 1000
|
|
7690
|
+
},
|
|
7691
|
+
"function": {
|
|
7692
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
7693
|
+
}
|
|
7694
|
+
}
|
|
7695
|
+
},
|
|
7696
|
+
{
|
|
7697
|
+
"type": "object",
|
|
7698
|
+
"title": "StaticProfileRetriever",
|
|
7699
|
+
"description": "A static direct mapping of API response fields to profile information",
|
|
7700
|
+
"required": [
|
|
7701
|
+
"remote",
|
|
7702
|
+
"path",
|
|
7703
|
+
"resolvers"
|
|
7704
|
+
],
|
|
7705
|
+
"additionalProperties": false,
|
|
7706
|
+
"properties": {
|
|
7707
|
+
"remote": {
|
|
7708
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
7709
|
+
},
|
|
7710
|
+
"path": {
|
|
7711
|
+
"type": "string",
|
|
7712
|
+
"maxLength": 1000
|
|
7713
|
+
},
|
|
7714
|
+
"resolvers": {
|
|
7715
|
+
"type": "object",
|
|
7716
|
+
"required": [
|
|
7717
|
+
"id",
|
|
7718
|
+
"displayName"
|
|
7719
|
+
],
|
|
7720
|
+
"additionalProperties": false,
|
|
7721
|
+
"properties": {
|
|
7722
|
+
"id": {
|
|
7723
|
+
"type": "string"
|
|
7724
|
+
},
|
|
7725
|
+
"displayName": {
|
|
7726
|
+
"type": "string"
|
|
7727
|
+
},
|
|
7728
|
+
"avatarUrl": {
|
|
7729
|
+
"type": "string"
|
|
7730
|
+
}
|
|
7731
|
+
}
|
|
7732
|
+
}
|
|
7733
|
+
}
|
|
7734
|
+
}
|
|
7735
|
+
]
|
|
7695
7736
|
}
|
|
7696
7737
|
}
|
|
7697
7738
|
}
|
|
@@ -8287,6 +8328,33 @@
|
|
|
8287
8328
|
"title": "Icon",
|
|
8288
8329
|
"description": "\n\nDefines an icon to display.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"icon\": {\n \"width\": 16,\n \"height\": 16,\n \"url\": \"/my-icon.png\"\n }\n }\n\n\n"
|
|
8289
8330
|
},
|
|
8331
|
+
"singleCondition": {
|
|
8332
|
+
"properties": {
|
|
8333
|
+
"condition": {
|
|
8334
|
+
"maxLength": 100,
|
|
8335
|
+
"type": "string",
|
|
8336
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
8337
|
+
},
|
|
8338
|
+
"invert": {
|
|
8339
|
+
"type": "boolean",
|
|
8340
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
8341
|
+
"defaultValue": "false"
|
|
8342
|
+
},
|
|
8343
|
+
"params": {
|
|
8344
|
+
"additionalProperties": true,
|
|
8345
|
+
"type": "object",
|
|
8346
|
+
"fieldTitle": "Object",
|
|
8347
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
8348
|
+
}
|
|
8349
|
+
},
|
|
8350
|
+
"required": [
|
|
8351
|
+
"condition"
|
|
8352
|
+
],
|
|
8353
|
+
"shortClassName": "singleConditionBean",
|
|
8354
|
+
"type": "object",
|
|
8355
|
+
"title": "Single Condition",
|
|
8356
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
8357
|
+
},
|
|
8290
8358
|
"compositeCondition": {
|
|
8291
8359
|
"properties": {
|
|
8292
8360
|
"conditions": {
|
|
@@ -8294,10 +8362,10 @@
|
|
|
8294
8362
|
"type": "object",
|
|
8295
8363
|
"anyOf": [
|
|
8296
8364
|
{
|
|
8297
|
-
"$ref": "
|
|
8365
|
+
"$ref": "#/definitions/singleCondition"
|
|
8298
8366
|
},
|
|
8299
8367
|
{
|
|
8300
|
-
"$ref": "
|
|
8368
|
+
"$ref": "#"
|
|
8301
8369
|
}
|
|
8302
8370
|
]
|
|
8303
8371
|
},
|
|
@@ -8320,33 +8388,6 @@
|
|
|
8320
8388
|
"title": "Composite Condition",
|
|
8321
8389
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
8322
8390
|
},
|
|
8323
|
-
"singleCondition": {
|
|
8324
|
-
"properties": {
|
|
8325
|
-
"condition": {
|
|
8326
|
-
"maxLength": 100,
|
|
8327
|
-
"type": "string",
|
|
8328
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
8329
|
-
},
|
|
8330
|
-
"invert": {
|
|
8331
|
-
"type": "boolean",
|
|
8332
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
8333
|
-
"defaultValue": "false"
|
|
8334
|
-
},
|
|
8335
|
-
"params": {
|
|
8336
|
-
"additionalProperties": true,
|
|
8337
|
-
"type": "object",
|
|
8338
|
-
"fieldTitle": "Object",
|
|
8339
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
8340
|
-
}
|
|
8341
|
-
},
|
|
8342
|
-
"required": [
|
|
8343
|
-
"condition"
|
|
8344
|
-
],
|
|
8345
|
-
"shortClassName": "singleConditionBean",
|
|
8346
|
-
"type": "object",
|
|
8347
|
-
"title": "Single Condition",
|
|
8348
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
8349
|
-
},
|
|
8350
8391
|
"webPanelLayout": {
|
|
8351
8392
|
"properties": {
|
|
8352
8393
|
"width": {
|
|
@@ -8415,7 +8456,6 @@
|
|
|
8415
8456
|
"linkFlag": {
|
|
8416
8457
|
"properties": {
|
|
8417
8458
|
"templateUrl": {
|
|
8418
|
-
"format": "uri-template",
|
|
8419
8459
|
"type": "string",
|
|
8420
8460
|
"fieldDescription": "\n\n"
|
|
8421
8461
|
}
|
|
@@ -8431,7 +8471,6 @@
|
|
|
8431
8471
|
"createFlag": {
|
|
8432
8472
|
"properties": {
|
|
8433
8473
|
"templateUrl": {
|
|
8434
|
-
"format": "uri-template",
|
|
8435
8474
|
"type": "string",
|
|
8436
8475
|
"fieldDescription": "\n\n"
|
|
8437
8476
|
}
|
|
@@ -8447,7 +8486,6 @@
|
|
|
8447
8486
|
"listFlags": {
|
|
8448
8487
|
"properties": {
|
|
8449
8488
|
"templateUrl": {
|
|
8450
|
-
"format": "uri-template",
|
|
8451
8489
|
"type": "string",
|
|
8452
8490
|
"fieldDescription": "\n\n"
|
|
8453
8491
|
}
|
|
@@ -8487,7 +8525,6 @@
|
|
|
8487
8525
|
"createBranch": {
|
|
8488
8526
|
"properties": {
|
|
8489
8527
|
"templateUrl": {
|
|
8490
|
-
"format": "uri-template",
|
|
8491
8528
|
"type": "string",
|
|
8492
8529
|
"fieldDescription": "\n\n"
|
|
8493
8530
|
}
|