You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "migration script for xlr-jira-plugin, migration from community to official xlr-jira-plugin",
4
+
"actions": [
5
+
{
6
+
"order": 1,
7
+
"action": "update",
8
+
"type": "task",
9
+
"description": "migrate existing task type CreateIssueJson to new task type - 1",
10
+
"properties": {
11
+
"taskParentType": "pythonScript",
12
+
"oldValue": "jira.CreateIssueJson",
13
+
"newValue": "jira.CreateIssueJson"
14
+
},
15
+
"contentActionsXLR": [
16
+
{
17
+
"action": "updateName",
18
+
"order": 1,
19
+
"properties": {
20
+
"name": "jsonObj",
21
+
"newName": "jsonObject",
22
+
"valueDataType": "string_value"
23
+
}
24
+
}
25
+
]
26
+
},
27
+
{
28
+
"order": 2,
29
+
"action": "update",
30
+
"type": "task",
31
+
"description": "migrate existing task type CreateSubtask to new task type - 2",
32
+
"properties": {
33
+
"taskParentType": "pythonScript",
34
+
"oldValue": "jira.CreateSubtask",
35
+
"newValue": "jira.CreateSubtask"
36
+
},
37
+
"contentActionsXLR": [
38
+
{
39
+
"action": "delete",
40
+
"order": 1,
41
+
"properties": {
42
+
"name": "issueTypeId"
43
+
}
44
+
}
45
+
]
46
+
},
47
+
{
48
+
"order": 3,
49
+
"action": "update",
50
+
"type": "task",
51
+
"description": "migrate existing task type CheckQuery to new task type - 3",
52
+
"properties": {
53
+
"taskParentType": "pythonScript",
54
+
"oldValue": "jira.CheckQuery",
55
+
"newValue": "jira.CheckQuery"
56
+
},
57
+
"contentActionsXLR": [
58
+
{
59
+
"action": "delete",
60
+
"order": 1,
61
+
"properties": {
62
+
"name": "expectedStatus"
63
+
}
64
+
}
65
+
]
66
+
},
67
+
{
68
+
"order": 4,
69
+
"action": "update",
70
+
"type": "task",
71
+
"description": "migrate existing task type CheckQueryNoPoll to existing Query task type - 4",
72
+
"properties": {
73
+
"taskParentType": "pythonScript",
74
+
"oldValue": "jira.CheckQueryNoPoll",
75
+
"newValue": "jira.Query"
76
+
}
77
+
},
78
+
{
79
+
"order": 5,
80
+
"action": "update",
81
+
"type": "task",
82
+
"description": "migrate existing task type queryForIssueIds to new task type - 5",
83
+
"properties": {
84
+
"taskParentType": "pythonScript",
85
+
"oldValue": "jira.queryForIssueIds",
86
+
"newValue": "jira.QueryForIssueIds"
87
+
}
88
+
},
89
+
{
90
+
"order": 6,
91
+
"action": "update",
92
+
"type": "task",
93
+
"description": "migrate existing task type getVersions to new task type - 6",
94
+
"properties": {
95
+
"taskParentType": "pythonScript",
96
+
"oldValue": "jira.getVersions",
97
+
"newValue": "jira.GetVersions"
98
+
}
99
+
},
100
+
{
101
+
"order": 7,
102
+
"action": "update",
103
+
"type": "task",
104
+
"description": "migrate existing task type getAllSprints to new task type - 7",
105
+
"properties": {
106
+
"taskParentType": "pythonScript",
107
+
"oldValue": "jira.getAllSprints",
108
+
"newValue": "jira.GetAllSprints"
109
+
}
110
+
},
111
+
{
112
+
"order": 8,
113
+
"action": "update",
114
+
"type": "task",
115
+
"description": "migrate existing task type jira.CheckIssue to new official jira.CheckIssue. Note: In this case we are changing the properties of the task only - 8",
116
+
"properties": {
117
+
"taskParentType": "pythonScript",
118
+
"oldValue": "jira.CheckIssue",
119
+
"newValue": "jira.CheckIssue"
120
+
},
121
+
"contentActionsXLR": [
122
+
{
123
+
"action": "updateName",
124
+
"order": 1,
125
+
"description": "In this example we first change the name of the property, the next action changes its kind",
126
+
"properties": {
127
+
"name": "expectedStatus",
128
+
"newName": "expectedStatusList",
129
+
"valueDataType": "string_value"
130
+
}
131
+
},
132
+
{
133
+
"action": "updateKind",
134
+
"order": 2,
135
+
"description": "Identify the property using its new, current name in order to change its kind. We retain its current value.",
//System.out.println("******END - numWritten to blob = "+numWritten+", size = "+blobFromBytes.length()+", this is the updated content blob for xlr - update ci");
122
+
115
123
//Blob blobFromBytes = new javax.sql.rowset.serial.SerialBlob(newByteArray);
//System.out.println("******END - numWritten to blob = "+numWritten+", size = "+blobFromBytes.length()+", this is the updated content blob for xlr - update task");
275
+
263
276
// Blob blobFromBytes = new javax.sql.rowset.serial.SerialBlob(newByteArray);
//System.out.println("******END - numWritten to blob = "+numWritten+", size = "+blobFromBytes2.length()+", this is the updated content blob for xlr - update task - backup");
316
+
298
317
//Blob blobFromBytes2 = new javax.sql.rowset.serial.SerialBlob(newByteArray2);
//System.out.println("******END - numWritten to blob = "+numWritten+", size = "+blobFromBytes.length()+", this is the updated content blob for xlr - update report task");
423
447
//Blob blobFromBytes = new javax.sql.rowset.serial.SerialBlob(newByteArray);
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+
*
6
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
+
*
8
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0 commit comments