jira_cli 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +9 -0
- data/LICENSE.txt +21 -0
- data/README.md +31 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/build_examples.rb +780 -0
- data/debug.rb +60 -0
- data/examples.yml +4811 -0
- data/jira_cli.gemspec +30 -0
- data/lib/jira_cli.rb +13 -0
- data/lib/jira_cli/output_error.rb +10 -0
- data/lib/jira_cli/version.rb +3 -0
- data/lib/jira_cli/wrapper.rb +87 -0
- metadata +131 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2ed21bdb73680734ee7b919a8eecff419ca28f5f
|
4
|
+
data.tar.gz: 435910cc9ce1956ca7da2a82fb9936380df17c24
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c71d1701d0e664aa464dfec79614e1e1f734713686a0f26402704dfc5a5e964ee7b80ec0d253445abe18589fb2b45f649080dfea6961db2c72fb37c4368091da
|
7
|
+
data.tar.gz: d83e10800c379ae6676442f143a63cd9c1aa9f77e75eba843256511cb1fcb30b4bd442f5b9a09ee7f3688eb5ec24736597de681b34079d37691db9ee466a78e9
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Sean Huber
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# JiraCli
|
2
|
+
|
3
|
+
A ruby wrapper for JIRA Command Line Interface [Bob Swift Atlassian Add-on]
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'jira_cli'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install jira_cli
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
This gem is still in development and documentation will be available on/after the 1.0.0 release.
|
24
|
+
|
25
|
+
## Contributing
|
26
|
+
|
27
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/seanhuber/jira_cli.
|
28
|
+
|
29
|
+
## License
|
30
|
+
|
31
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "jira_cli"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/build_examples.rb
ADDED
@@ -0,0 +1,780 @@
|
|
1
|
+
require 'jira_cli'
|
2
|
+
require 'ap'
|
3
|
+
require 'yaml'
|
4
|
+
|
5
|
+
EXAMPLES = [
|
6
|
+
"--action addAttachment --issue \"ZATTACH-1\" --file \"-\" --name \"dataFromStandardInput.txt\" --findReplace \"xxx:yyy\"",
|
7
|
+
"--action addAttachment --issue \"ZATTACH-1\" --file \"src/itest/resources/binary.bin\" --verbose",
|
8
|
+
"--action addAttachment --issue \"ZATTACH-1\" --file \"src/itest/resources/data.txt\" --findReplace \"xxx:yyy\" --verbose",
|
9
|
+
"--action addAttachment --issue \"ZATTACH-1\" --file \"src/itest/resources/data.txt\" --name \"data\"",
|
10
|
+
"--action addAttachment --issue \"ZATTACH-1\" --file \"src/itest/resources/empty.txt\"",
|
11
|
+
"--action addAttachment --issue \"ZATTACH-1\" --file \"src/itest/resources/large.zip\"",
|
12
|
+
"--action addAttachment --issue \"ZATTACH-1\" --file \"src/itest/resources/Special name #&?\"",
|
13
|
+
"--action addAttachment --issue \"ZJIRACLI-3\" --file \"src/itest/resources/data.txt\"",
|
14
|
+
"--action addAttachment --issue \"ZRUNNER-1\" --file \"src/itest/resources/data.txt\"",
|
15
|
+
"--action addAttachments --issue \"ZATTACH-1\" --file \"src/itest/resources\" --regex \"((data)|(empty)).*\" --recursive",
|
16
|
+
"--action addComment --issue \"ZCLICLONE-1\" --comment \"my comment\" --role \"Developers\"",
|
17
|
+
"--action addComment --issue \"ZCLICLONE-4\" --comment \"my comment\"",
|
18
|
+
"--action addComment --issue \"ZCLICLONE-4\" --comment \"my group restricted comment\" --group \"jira-users\"",
|
19
|
+
"--action addComment --issue \"ZCLICLONE-4\" --comment \"my role restricted comment\" --role \"Developers\"",
|
20
|
+
"--action addComment --issue \"ZJIRACLI-3\" --file \"src/itest/resources/data.txt\" --findReplace \"xxx:yyy\"",
|
21
|
+
"--action addComment --issue \"ZSUB-3\" --comment \"\n resolution: %original_resolution%\n resolutiondate: %original_resolutiondate%\n resolution_date: %original_resolution_date%\n resolution_date with format: %original_resolution_date(yyyy-MM-dd HH:mm:ss)%\n now with format: %now(yyyy-MM-dd HH:mm:ss)%\n \" --dateFormat \"yyyy-MM-dd HH:mm:ss\"",
|
22
|
+
"--action addComponent --project \"ZCOMP\" --name \"C1\" --lead \"automation\" --description \"C1 description\" --defaultAssignee \"COMPONENT_LEAD\"",
|
23
|
+
"--action addComponent --project \"ZCOMP\" --name \"C2\" --lead \"automation\" --description \"C2 description\" --defaultAssignee \"COMPONENT_LEAD\"",
|
24
|
+
"--action addComponent --project \"ZEXPORT2\" --name \"C1\" --description \"C1 description\"",
|
25
|
+
"--action addComponent --project \"zjiracli\" --name \"C1\" --description \"a generic description\"",
|
26
|
+
"--action addComponent --project \"zjiracli\" --name \"C1\" --description \"a generic description\" --replace",
|
27
|
+
"--action addComponent --project \"zjiracli\" --name \"C2\" --lead \"developer\" --description \"a generic description\" --defaultAssignee \"COMPONENT_LEAD\"",
|
28
|
+
"--action addComponent --project \"zjiracli\" --name \"swap2\" --description \"a generic description\"",
|
29
|
+
"--action addCustomField --field \"zzz_Number Field\" --type \"com.atlassian.jira.plugin.system.customfieldtypes:float\" --continue --jql \"com.atlassian.jira.plugin.system.customfieldtypes:exactnumber\"",
|
30
|
+
"--action addCustomField --field \"zzz_Radio Buttons\" --type \"com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons\" --continue",
|
31
|
+
"--action addCustomField --field \"zzz_Select List (single choice)\" --type \"com.atlassian.jira.plugin.system.customfieldtypes:multiselect\" --continue",
|
32
|
+
"--action addGroup --group \"Testgroup1\" --preserveCase",
|
33
|
+
"--action addLabels --issue \"ZJIRACLI-8\" --labels \"addLabel1 addLabel2\"",
|
34
|
+
"--action addProjectRoleActors --project \"zjiracli\" --role \"users\" --userId \"user, admin\"",
|
35
|
+
"--action addProjectRoleActors --project \"ZROLES\" --role \"administrators\" --userId \"project-admin\"",
|
36
|
+
"--action addProjectRoleActors --project \"ZROLES\" --role \"users\" --userId \"user, admin\"",
|
37
|
+
"--action addProjectRole --name \"zAdd project role test\" --description \"addProjectRole test\"",
|
38
|
+
"--action addRemoteLink --issue \"ZLINKS-1\" --name \"addRemoteLinkUrl\" --url \"https://google.com\"",
|
39
|
+
"--action addTransition --workflow \"zjiracliworkflow_new\" --name \"test 1\" --description \"Transition for testing\" --step \"1\"",
|
40
|
+
"--action addTransition --workflow \"zjiracliworkflow_new\" --name \"test 2\" --description \"Transition for testing\" --step \"1\" --transition \"3\" --screen \"Default Screen\"",
|
41
|
+
"--action addTransition --workflow \"zjiracliworkflow_new\" --name \"test 3\" --description \"Transition for testing\" --step \"1\" --screen \"12326\"",
|
42
|
+
"--action addTransition --workflow \"zjiracliworkflow_new\" --name \"test 4\" --description \"Transition for testing\" --step \"1\" --screen \"FIELDCONF: Software Development Default Issue Screen\"",
|
43
|
+
"--action addTransition --workflow \"zjiracliworkflow_new\" --name \"test 9\" --description \"Transition for testing\" --step \"3\"",
|
44
|
+
"--action addUserToGroup --userId \"Testuser3\" --group \"testgroup2\" --autoGroup",
|
45
|
+
"--action addUser --userId \"automation\" --userEmail \"testuser@x.com\"",
|
46
|
+
"--action addUser --userId \"testuser1\" --userFullName \"Test User1\" --userEmail \"testuser1@x.com\" --userPassword \"\"",
|
47
|
+
"--action addUser --userId \"testuser2\" --userFullName \"Special User 2\" --userEmail \"testuser2@x.com\"",
|
48
|
+
"--action addUser --userId \"Testuser3\" --userEmail \"testuser3@x.com\" --preserveCase",
|
49
|
+
"--action addVersion --project \"ZEXPORT2\" --name \"V1\" --description \"V1 description\"",
|
50
|
+
"--action addVersion --project \"zjiracli for automated testing\" --name \"V2\" --date \"5/30/15\" --startDate \"9/30/14\" --after \"V1\" --description \"V2 description\"",
|
51
|
+
"--action addVersion --project \"zjiracli for automated testing\" --name \"With Blanks\"",
|
52
|
+
"--action addVersion --project \"zjiracli\" --name \"V1\"",
|
53
|
+
"--action addVersion --project \"zjiracli\" --version \"V2\" --date \"5/30/15\" --description \"V2 description\" --replace",
|
54
|
+
"--action addVersion --project \"ZRUNNER\" --name \"V1\"",
|
55
|
+
"--action addVersion --project \"ZRUNNER\" --name \"V2\"",
|
56
|
+
"--action addVote --issue \"ZVOTEWATCH-1\" --user \"developer\" --password \"asDeVqeTwsjtr4GnyKwf\"",
|
57
|
+
"--action addWatchers --issue \"ZCLICLONE-4\" --userId \"user, developer\"",
|
58
|
+
"--action addWatchers --issue \"ZSUB-1\" --userId \"admin, developer\"",
|
59
|
+
"--action addWatchers --issue \"ZVOTEWATCH-1\" --userId \"invalid1, invalid2\" --continue",
|
60
|
+
"--action addWatchers --issue \"ZVOTEWATCH-1\" --userId \"user, developer\"",
|
61
|
+
"--action addWork --issue \"ZCLICLONE-4\" --timeSpent \"1h\" --autoAdjust",
|
62
|
+
"--action addWork --issue \"ZWORK-1\" --timeSpent \"1d 1h\" --date \"1/02/11 9:00 a\"",
|
63
|
+
"--action addWork --issue \"ZWORK-1\" --timeSpent \"3h 30m\" --comment \"My work log entry\" --role \"Developers\" --group \"jira-users\"",
|
64
|
+
"--action addWork --issue \"ZWORK-1\" --timeSpent \"3h 30m\" --date \"2011-01-01\" --dateFormat \"yyyy-MM-dd\" --group \"jira-users\"",
|
65
|
+
"--action addWork --issue \"ZWORK-1\" --timeSpent \"3h 30m\" --estimate \"3w\"",
|
66
|
+
"--action addWork --issue \"ZWORK-1\" --timeSpent \"3m\" --date \"2011-01-01\"",
|
67
|
+
"--action addWork --issue \"ZWORK-1\" --timeSpent \"3m\" --date \"2011-01-01 22:33:01\"",
|
68
|
+
"--action addWork --issue \"ZWORK-1\" --timeSpent \"5\" --userId \"developer\"",
|
69
|
+
"--action addWork --issue \"ZWORK-2\" --timeSpent \"2h\"",
|
70
|
+
"--action archiveVersion --project \"zjiracli\" --version \"V1\"",
|
71
|
+
"--action assignIssue --issue \"ZJIRACLI-5\" --userId \"\"",
|
72
|
+
"--action assignIssue --issue \"ZJIRACLI-5\" --userId \"automation\"",
|
73
|
+
"--action assignIssue --issue \"ZJIRACLI-5\" --userId \"@default\"",
|
74
|
+
"--action cloneIssue --issue \"ZATTACH-1\" --copyAttachments",
|
75
|
+
"--action cloneIssue --issue \"ZCLICLONE-3\"",
|
76
|
+
"--action cloneIssue --issue \"ZCLICLONE-4\" --parent \"ZCLICLONE-2\" --copySubtaskEstimates --copyLinks --copyWatchers --copyComments --useParentVersions --fieldExcludes \"custom-multi-select,custom three\" --quiet",
|
77
|
+
"--action cloneIssue --issue \"ZJIRACLI-3\" --description \"clone description\"",
|
78
|
+
"--action cloneIssue --issue \"ZJIRACLI-3\" --summary \"clone summary\" --comment \"comment for cloned issue\"",
|
79
|
+
"--action cloneIssue --issue \"ZJIRACLI-3\" --summary \"clone summary\" --date \"2013-12-30\" --dateFormat \"yyyy-MM-dd\"",
|
80
|
+
"--action cloneIssue --issue \"ZLINKS-1\" --summary \"cloneThis is content.\" --link \"Cloners\"",
|
81
|
+
"--action cloneIssue --project \"ZCLICLONE\" --issue \"ZCLICLONE-1\"",
|
82
|
+
"--action cloneIssue --project \"ZCLICLONE\" --issue \"ZCLICLONE-1\" --copyLinks",
|
83
|
+
"--action cloneIssue --project \"ZCLICLONEX\" --issue \"ZCLICLONE-1\" --copySubtaskEstimates --copyLinks --copyWatchers --copyComments",
|
84
|
+
"--action cloneIssues --copyAttachments --copySubtasks --jql \"key = ZATTACH-1\"",
|
85
|
+
"--action cloneIssues --jql \"issue = ZCLICLONE-1\" --copySubtasks",
|
86
|
+
"--action cloneIssues --project \"ZCLICLONEX\" --jql \"project = ZCLICLONE and issuetype = bug\" --autoVersion --autoComponent",
|
87
|
+
"--action cloneIssues --project \"ZCLICLONEX\" --type \"improvement\" --jql \"project = ZCLICLONE and issuetype = bug\"",
|
88
|
+
"--action cloneIssues --project \"zjiracliA\" --jql \"project = zjiracli and issuetype = bug\"",
|
89
|
+
"--action cloneIssues --project \"zjiracliA\" --type \"improvement\" --jql \"project = zjiracli and issuetype = bug\"",
|
90
|
+
"--action cloneIssues --toProject \"ZRUNNERC\" --description \"Bulk clone example\" --search 'project = ZRUNNER and summary ~ \"volume-*\"'",
|
91
|
+
"--action cloneIssues --type \"task\" --jql \"project = ZCLICLONE and issuetype = bug\"",
|
92
|
+
"--action cloneIssues --type \"task\" --jql \"project = zjiracli and issuetype = bug\"",
|
93
|
+
"--action cloneProject --project \"Template\" --toProject \"zjiracli\" --lead \"automation\" --name \"zjiracli for automated testing\" --defaultAssignee \"unassigned\"",
|
94
|
+
"--action cloneProject --project \"ZAGILE\" --toProject \"ZAGILEC\" --cloneIssues",
|
95
|
+
"--action cloneProject --project \"ZATTACH\" --toProject \"ZATTACH2\" --cloneIssues --copyAttachments --copySubtasks",
|
96
|
+
"--action cloneProject --project \"ZCLICLONEB\" --issueTypeScheme \"Default Issue Type Scheme\" --issueTypeScreenScheme \"Default Issue Type Screen Scheme\" --permissionScheme \"Default Permission Scheme\" --toProject \"ZCLICLONEY\"",
|
97
|
+
"--action cloneProject --project \"ZCLICLONE\" --issueTypeScheme \"Default Issue Type Scheme\" --issueTypeScreenScheme \"Default Issue Type Screen Scheme\" --permissionScheme \"Default Permission Scheme\" --toProject \"ZCLICLONEX\"",
|
98
|
+
"--action cloneProject --project \"ZCLICLONES\" --issueTypeScheme \"Default Issue Type Scheme\" --issueTypeScreenScheme \"Default Issue Type Screen Scheme\" --permissionScheme \"Default Permission Scheme\" --toProject \"ZCLICLONET\"",
|
99
|
+
"--action cloneProject --project \"zjiracliC\" --toProject \"zjiracliD\"",
|
100
|
+
"--action cloneProject --project \"zjiracli\" --jql \"type = 'bug'\" --toProject \"zjiracliB\" --issueSecurityScheme \"test restrictions\" --copyVersions --copyComponents --copyRoleActors --cloneIssues --copyAttachments --copySubtasks --continue",
|
101
|
+
"--action cloneProject --project \"zjiracli\" --toProject \"zjiracliA\" --name \"ZcloneNameA\"",
|
102
|
+
"--action cloneProject --project \"zjiracli\" --toProject \"zjiracliC\" --cloneIssues --jql \"issuetype = bug\" --autoVersion --debug",
|
103
|
+
"--action copyAttachments --issue \"ZATTACH-1\" --toIssue \"ZATTACH-2\"",
|
104
|
+
"--action copyAttachments --issue \"ZATTACH-1\" --toIssue \"ZATTACH-3\" --name \"data.txt\"",
|
105
|
+
"--action copyComponent --project \"ZCOMP\" --toProject \"ZCOMP2\" --component \"C1\"",
|
106
|
+
"--action copyComponent --project \"zjiracli\" --component \"C1\" --name \"C3First\" --description \"override description\"",
|
107
|
+
"--action copyComponents --project \"ZCOMP\" --toProject \"ZCOMP2\" --replace",
|
108
|
+
"--action copyComponents --project \"zjiracli\" --toProject \"zjiracliX\"",
|
109
|
+
"--action copyComponents --project \"zjiracli\" --toProject \"zjiracliX\" --components \"C1, C2\" --replace",
|
110
|
+
"--action copyFieldValue --issue \"ZJIRACLI-10\" --field \"custom1\" --field2 \"custom-versions\" --asVersion --autoVersion",
|
111
|
+
"--action copyFieldValue --issue \"ZJIRACLI-10\" --toIssue \"ZJIRACLI-11\" --field \"custom1\"",
|
112
|
+
"--action copyFieldValue --issue \"ZJIRACLI-10\" --toIssue \"ZJIRACLI-11\" --field \"fixVersions\" --field2 \"custom-versions\" --asVersion",
|
113
|
+
"--action copyFieldValue --issue \"ZJIRACLI-10\" --toIssue \"ZJIRACLI-11\" --field \"summary\" --field2 \"custom2\"",
|
114
|
+
"--action copyProjectRoleActors --project \"ZROLES\" --toProject \"ZROLESX\"",
|
115
|
+
"--action copyVersion --project \"zjiracliA\" --version \"V1\" --name \"newV1\"",
|
116
|
+
"--action copyVersion --project \"zjiracli\" --toProject \"zjiracliA\" --name \"V1\"",
|
117
|
+
"--action copyVersion --project \"zjiracli\" --toProject \"zjiracliA\" --name \"V2\" --after -1",
|
118
|
+
"--action copyVersion --project \"zjiracli\" --toProject \"zjiracliA\" --version \"V1\" --description \"replaced description\" --startDate \"9/30/14\" --replace",
|
119
|
+
"--action copyVersions --project \"zjiracli\" --toProject \"zjiracliC\" --replace",
|
120
|
+
"--action copyWorkflow --workflow \"jira\" --name \"zjiracliworkflow_new\" --description \"Copy of jira for jiracliworkflow test\"",
|
121
|
+
"--action createBoard --name \"ZAGILE\" --type \"kanban\" --project \"ZAGILE\"",
|
122
|
+
"--action createBoard --name \"ZAGILE\" --type \"scrum\" --project \"ZAGILE\"",
|
123
|
+
"--action createFilter --name \"ZFILTER2\" --description \"ZFILTER2 description\" --jql \"project = ZFILTER\" --favorite",
|
124
|
+
"--action createIssue --parent \"ZSUB-1\" --type \"Sub-task\" --summary \"subtask2: %parent_summary%\"",
|
125
|
+
"--action createIssue --project \"ZAGILE\" --type \"Epic\" --summary \"Epic issue\" --field \"Epic Name\" --value \"Epic1\"",
|
126
|
+
"--action createIssue --project \"ZAGILE\" --type \"Story\" --summary \"Story issue\" --field \"Epic Link\" --value \"ZAGILE-1\"",
|
127
|
+
"--action createIssue --project \"ZATTACH\" --type \"bug\" --summary \"Copy attachments target\"",
|
128
|
+
"--action createIssue --project \"ZATTACH\" --type \"bug\" --summary \"For attachments\"",
|
129
|
+
"--action createIssue --project \"ZATTACH\" --type \"Sub-task\" --parent \"ZATTACH-1\" --summary \"Subtask with attachments\"",
|
130
|
+
"--action createIssue --project \"ZCLICLONE\" --parent \"ZCLICLONE-1\" --summary \"Subtask 1\" --type \"Sub-task\"",
|
131
|
+
"--action createIssue --project \"ZCLICLONE\" --parent \"ZCLICLONE-1\" --summary \"Subtask 2\" --type \"Sub-task2\" --originalEstimate \"1d\" --custom \"testcase1:xxx,custom three:333\"",
|
132
|
+
"--action createIssue --project \"ZCLICLONE\" --type \"bug\" --summary \"Summary\" --affectsVersions \"V1\" --fixVersions \"V1,V2\" --components \"C2,C1\" --field \"custom-versions\" --values \"V2, V1\" --autoVersion --autoComponent --field2 \"custom-user-picker\" --values2 \"automation\"",
|
133
|
+
"--action createIssue --project \"ZCOMP\" --type \"bug\" --summary \"test\" --components \"auto1,auto2\" --autoComponent",
|
134
|
+
"--action createIssue --project \"zcustom\" --type \"bug\" --summary \"cascade issue\" --custom \"custom1:xxxx\" --field \"custom-cascade-select\" --values \"1,A\" --asCascadeSelect",
|
135
|
+
"--action createIssue --project \"zcustom\" --type \"bug\" --summary \"cascade issue\" --custom \"custom1:xxxx\" --field \"custom-cascade-select\" --values \"1,A\" --field2 \"custom-multi-select\" --values2 \"s1\" --asCascadeSelect",
|
136
|
+
"--action createIssue --project \"zcustom\" --type \"bug\" --summary \"cascade issue\" --field \"custom-cascade-select\" --values \"1,A\" --asCascadeSelect",
|
137
|
+
"--action createIssue --project \"zcustom\" --type \"bug\" --summary \"checkbox\" --field \"custom-multi-checkbox\" --values \"check1,check2\"",
|
138
|
+
"--action createIssue --project \"zcustom\" --type \"Story\" --summary \"json\" --custom \"{\\\"custom-date\\\":{\\\"offset\\\":\\\"-30\\\",\\\"value\\\":\\\"%now%\\\"},\\\"Story Points\\\":{\\\"offset\\\":-4.2,\\\"value\\\":\\\"10.1\\\"}}\" --date \"{\\\"offset\\\":5,\\\"value\\\":\\\"%now%\\\"}\" --dateFormat \"yyyy-MM-dd\"",
|
139
|
+
"--action createIssue --project \"zcustom\" --type \"Story\" --summary \"json\" --custom \"{\\\"custom-datetime\\\":{\\\"offset\\\":15,\\\"value\\\":\\\"%now%\\\"},\\\"custom-date\\\":{\\\"offset\\\":\\\"15\\\",\\\"value\\\":\\\"2015-05-01\\\"},\\\"Story Points\\\":{\\\"offset\\\":\\\"5\\\",\\\"value\\\":\\\"10\\\"}}\" --date \"%now%\" --dateFormat \"yyyy-MM-dd HH:mm:ss\"",
|
140
|
+
"--action createIssue --project \"zcustom\" --type \"story\" --summary \"mutli issue\" --field \"custom-multi-select\" --values \"s1,s2,s3\" --field2 \"testcase2\" --values2 \"No\" --custom \"testcase1:zzzzzzzzzz,Story Points:99.1\"",
|
141
|
+
"--action createIssue --project \"ZFIELDS\" --file \"src/itest/resources/data.txt\" --type \"Bug\" --summary \"original summary\" --assignee \"automation\" --environment \"original environment\" --fixVersions \"V1,V2\" --components \"C1\" --autoVersion --autoComponent",
|
142
|
+
"--action createIssue --project \"ZFIELDS\" --file \"src/itest/resources/data.txt\" --type \"Bug\" --summary \"This is content.\" --assignee \"automation\" --environment \"x12345\"",
|
143
|
+
"--action createIssue --project \"ZFIELDS\" --type \"Sub-task\" --summary \"This is content.\" --parent \"ZFIELDS-1\"",
|
144
|
+
"--action createIssue --project \"ZHISTORY\" --type \"task\" --summary \"Initial summary\"",
|
145
|
+
"--action createIssue --project \"zjiracliB\" --type \"bug\" --summary \"secured issue\" --security \"developer-role\"",
|
146
|
+
"--action createIssue --project \"zjiracli\" --file \"src/itest/resources/data.txt\" --type \"Bug\" --summary \"This is content.\" --assignee \"automation\" --lookup --date \"\" --field \"custom-multi-select\" --values \"s1,s2,s3\" --originalEstimate \"20m\"",
|
147
|
+
"--action createIssue --project \"zjiracli\" --file \"target/output/jiracli/createIssueLongDescription.txt\" --type \"task\" --summary \"Long description\"",
|
148
|
+
"--action createIssue --project \"zjiracli for automated testing\" --type \"task\" --summary \"This is content.\" --assignee \"automation\" --comment \"Added after create\"",
|
149
|
+
"--action createIssue --project \"zjiracli\" --type \"Bug\" --summary \"This is content.\" --labels \"label1\"",
|
150
|
+
"--action createIssue --project \"zjiracli\" --type \"Bug\" --summary \"This is content.\" --labels \"xxx\"",
|
151
|
+
"--action createIssue --project \"zjiracli\" --type \"Sub-task\" --summary \"This is content.\" --parent \"ZJIRACLI-1\"",
|
152
|
+
"--action createIssue --project \"zjiracli\" --type \"task\" --summary \"This is content.\"",
|
153
|
+
"--action createIssue --project \"zjiracli\" --type \"task\" --summary \"This is content.\" --field \"custom1\" --values \"V1copy\" --fixVersions \"V1\"",
|
154
|
+
"--action createIssue --project \"zjiracliX\" --type \"bug\" --summary \"This is content.\"",
|
155
|
+
"--action createIssue --project \"zjiracliX\" --type \"Bug\" --summary \"This is content.\" --description \"a generic description\"",
|
156
|
+
"--action createIssue --project \"zlinks\" --type \"Bug\" --summary \"This is content.\"",
|
157
|
+
"--action createIssue --project \"zlinks\" --type \"Sub-task\" --summary \"This is content.\" --parent \"ZLINKS-1\"",
|
158
|
+
"--action createIssue --project \"ZRUNNER\" --type \"Bug\" --summary \"This is content\"",
|
159
|
+
"--action createIssue --project \"ZSUB\" --type \"bug\" --summary \"Summary\"",
|
160
|
+
"--action createIssue --project \"ZSUB\" --type \"bug\" --summary \"Summary\" --description \"Description\" --environment \"Environment\" --affectsVersions \"V1\" --fixVersions \"V1,V2\" --components \"C1,C2\" --autoVersion --autoComponent --assignee \"automation\" --labels \"label1 label2\" --security \"developer-role\" --field \"custom1\" --value \"Custom1\" --field2 \"custom2\" --values2 \"Custom2\"",
|
161
|
+
"--action createIssue --project \"ZSUPPORT\" --type \"bug\" --priority \"Major\" --summary \"Summary\"",
|
162
|
+
"--action createIssue --project \"zuser\" --type \"Bug\" --summary \"This is content\" --assignee \"automation\"",
|
163
|
+
"--action createIssue --project \"zvotewatch\" --type \"Bug\" --summary \"summary text\"",
|
164
|
+
"--action createIssue --project \"zwork\" --type \"Bug\" --summary \"This is content\"",
|
165
|
+
"--action createIssue --type \"Sub-task\" --summary \"This is content.\" --parent \"249564\"",
|
166
|
+
"--action createOrUpdateIssue --project \"zjiracli\" --type \"bug\" --summary \"CreateOrUpdate - updated\" --jql \"project = zjiracli and summary ~ 'CreateOrUpdate: 1501339484158'\"",
|
167
|
+
"--action createOrUpdateIssue --project \"zjiracli\" --type \"task\" --summary \"createOrUpdate: 1501339484158\" --jql \"custom1 ~ UNDEFINED-TEXT-DATA\"",
|
168
|
+
"--action createProject --project \"ZAGILE\" --name \"zjiracliagile\" --description \"GINT test: jiracliagile\" --lead \"automation\" --template \"Template\"",
|
169
|
+
"--action createProject --project \"ZATTACH\" --name \"zjiracliattachments\" --description \"GINT test: jiracliattachments\" --lead \"automation\" --template \"Template\"",
|
170
|
+
"--action createProject --project \"ZCLICLONEB\" --lead \"automation\" --type \"business\" --template \"Task management\" --issueTypeScheme \"Default Issue Type Scheme\" --issueTypeScreenScheme \"Default Issue Type Screen Scheme\" --permissionScheme \"Default Permission Scheme\"",
|
171
|
+
"--action createProject --project \"ZCLICLONE\" --lead \"automation\" --template \"Template\"",
|
172
|
+
"--action createProject --project \"ZCLICLONES\" --lead \"automation\" --template \"Basic\" --issueTypeScheme \"Default Issue Type Scheme\" --issueTypeScreenScheme \"Default Issue Type Screen Scheme\" --permissionScheme \"Default Permission Scheme\"",
|
173
|
+
"--action createProject --project \"ZCOMP2\" --name \"zjiraclicomponents2\" --description \"GINT test: jiraclicomponents\" --lead \"automation\" --template \"Template\"",
|
174
|
+
"--action createProject --project \"ZCOMP\" --name \"zjiraclicomponents\" --description \"GINT test: jiraclicomponents\" --lead \"automation\" --template \"Template\"",
|
175
|
+
"--action createProject --project \"ZCUSTOM\" --name \"zjiraclicustom\" --description \"GINT test: jiraclicustom\" --lead \"automation\" --template \"Template\"",
|
176
|
+
"--action createProject --project \"ZEXPORT2\" --name \"zjiracliexport2\" --description \"GINT test: jiracliexport2\" --lead \"automation\" --template \"Template\"",
|
177
|
+
"--action createProject --project \"ZEXPORT\" --name \"zjiracliexport\" --description \"GINT test: jiracliexport\" --lead \"automation\" --template \"Template\"",
|
178
|
+
"--action createProject --project \"ZFIELDS\" --name \"zjiraclifields\" --description \"GINT test: jiraclifields\" --lead \"automation\" --template \"Template\"",
|
179
|
+
"--action createProject --project \"ZFILTER\" --name \"zjiraclifilter\" --description \"GINT test: jiraclifilter\" --lead \"automation\" --template \"Template\"",
|
180
|
+
"--action createProject --project \"ZHISTORY\" --name \"zjiraclihistory\" --description \"GINT test: jiraclihistory\" --lead \"automation\" --template \"Template\"",
|
181
|
+
"--action createProject --project \"zjiracliX\" --template \"Template\" --workflowScheme \"\" --issueTypeScheme \"Default Issue Type Scheme\" --issueTypeScreenScheme \"Default Issue Type Screen Scheme\" --permissionScheme \"Default Permission Scheme\" --lead \"automation\" --name \"zjiracliX for automated testing\"",
|
182
|
+
"--action createProject --project \"ZLINKS\" --name \"zjiraclilinks\" --description \"GINT test: jiraclilinks\" --lead \"automation\" --template \"Template\"",
|
183
|
+
"--action createProject --project \"ZPROJECT\" --name \"zjiracliproject\" --description \"GINT test: jiracliproject\" --lead \"automation\" --template \"Template\" --category \"another\"",
|
184
|
+
"--action createProject --project \"ZPROJECTX\" --template \"Template\" --lead \"developer\" --workflowScheme \"\" --notificationScheme \"\" --category \"another\"",
|
185
|
+
"--action createProject --project \"ZPROJECTZ\" --template \"Kanban software development\" --lead \"admin\"",
|
186
|
+
"--action createProject --project \"ZROLES\" --name \"zjiracliroles\" --description \"GINT test: jiracliroles\" --lead \"automation\" --template \"Template\"",
|
187
|
+
"--action createProject --project \"ZROLESX\" --name \"zjiraclirolesX\" --description \"GINT test: jiracliroles\" --lead \"automation\" --template \"Template\"",
|
188
|
+
"--action createProject --project \"ZRUNNERC\" --name \"zjiraclirunnerC\" --description \"GINT test: jiraclirunner\" --lead \"automation\" --template \"Template\"",
|
189
|
+
"--action createProject --project \"ZRUNNER\" --name \"zjiraclirunner\" --description \"GINT test: jiraclirunner\" --lead \"automation\" --template \"Template\"",
|
190
|
+
"--action createProject --project \"ZSUB\" --name \"zjiraclisub\" --description \"GINT test: jiraclisub\" --lead \"automation\" --template \"Template\" --issueSecurityScheme \"test restrictions\" --category \"standard\"",
|
191
|
+
"--action createProject --project \"ZSUPPORT\" --name \"zjiraclisupport\" --description \"GINT test: jiraclisupport\" --lead \"automation\" --template \"Template\" --issueSecurityScheme \"test restrictions\" --category \"standard\"",
|
192
|
+
"--action createProject --project \"ZUSER\" --name \"zjiracliuser\" --description \"GINT test: jiracliuser\" --lead \"automation\" --template \"Template\"",
|
193
|
+
"--action createProject --project \"ZVOTEWATCH\" --name \"zjiraclivotewatch\" --description \"GINT test: jiraclivotewatch\" --lead \"automation\" --template \"Template\"",
|
194
|
+
"--action createProject --project \"ZWORK\" --name \"zjiracliwork\" --description \"GINT test: jiracliwork\" --lead \"automation\" --template \"Template\"",
|
195
|
+
"--action deleteBoard --board \"NOT_FOUND\" --continue",
|
196
|
+
"--action deleteBoard --board \"ZAGILE\" --deleteFilter",
|
197
|
+
"--action deleteBoard --id \"1228\" --deleteFilter",
|
198
|
+
"--action deleteBoard --id 1234567890 --continue",
|
199
|
+
"--action deleteComponent --project \"zjiracli\" --component 71357",
|
200
|
+
"--action deleteComponent --project \"zjiracli\" --component \"swap1\" --toComponent \"swap2\"",
|
201
|
+
"--action deleteComponent --project \"zjiracli\" --name \"auto1\"",
|
202
|
+
"--action deleteComponent --project \"zjiracli\" --name \"auto2\"",
|
203
|
+
"--action deleteComponent --project \"zjiracliX\" --component \"C2\"",
|
204
|
+
"--action deleteComponent --project \"zjiracliX\" --component \"C3\"",
|
205
|
+
"--action deleteComponent --project \"zjiracliX\" --name \"C1\"",
|
206
|
+
"--action deleteComponent --project \"zjiracliX\" --name \"C1\" --continue",
|
207
|
+
"--action deleteFieldConfiguration --id \"1234556780\" --continue",
|
208
|
+
"--action deleteFieldConfigurationScheme --id \"1234556780\" --continue",
|
209
|
+
"--action deleteFilter --filter \"NOT_FOUND\" --continue",
|
210
|
+
"--action deleteFilter --id 1234567890 --continue",
|
211
|
+
"--action deleteFilter --id \"24903\"",
|
212
|
+
"--action deleteIssue --issue \"ZJIRACLI-1\"",
|
213
|
+
"--action deleteIssue --issue \"ZJIRACLI-1\" --continue",
|
214
|
+
"--action deleteIssueSecurityScheme --id \"1234556780\" --continue",
|
215
|
+
"--action deleteIssueTypeScheme --id \"1234556780\" --continue",
|
216
|
+
"--action deleteIssueTypeScreenScheme --id \"1234556780\" --continue",
|
217
|
+
"--action deleteLink --issue \"249453\" --toIssue \"249454\" --link \"10011\"",
|
218
|
+
"--action deleteLink --issue \"ZLINKS-1\" --toIssue \"ZLINKS-3\" --link \"duplicates\"",
|
219
|
+
"--action deleteNotificationScheme --id \"1234556780\" --continue",
|
220
|
+
"--action deletePermissionScheme --id \"1234556780\" --continue",
|
221
|
+
"--action deleteProject --project \"NOT_FOUND\" --continue",
|
222
|
+
"--action deleteProject --project \"ZAGILEC\" --continue",
|
223
|
+
"--action deleteProject --project \"ZAGILE\" --continue",
|
224
|
+
"--action deleteProject --project \"ZATTACH2\" --continue",
|
225
|
+
"--action deleteProject --project \"ZATTACH\" --continue",
|
226
|
+
"--action deleteProject --project \"ZCLICLONEB\" --continue",
|
227
|
+
"--action deleteProject --project \"ZCLICLONE\" --continue",
|
228
|
+
"--action deleteProject --project \"ZCLICLONES\" --continue",
|
229
|
+
"--action deleteProject --project \"ZCLICLONET\" --continue",
|
230
|
+
"--action deleteProject --project \"ZCLICLONEX\" --continue",
|
231
|
+
"--action deleteProject --project \"ZCLICLONEY\" --continue",
|
232
|
+
"--action deleteProject --project \"ZCLICLONEZ\" --continue",
|
233
|
+
"--action deleteProject --project \"ZCOMP2\" --continue",
|
234
|
+
"--action deleteProject --project \"ZCOMP\" --continue",
|
235
|
+
"--action deleteProject --project \"ZCUSTOM\" --continue",
|
236
|
+
"--action deleteProject --project \"ZEXPORT2\" --continue",
|
237
|
+
"--action deleteProject --project \"ZEXPORT2E\" --continue",
|
238
|
+
"--action deleteProject --project \"ZEXPORT\" --continue",
|
239
|
+
"--action deleteProject --project \"ZFIELDS\" --continue",
|
240
|
+
"--action deleteProject --project \"ZFILTER\" --continue",
|
241
|
+
"--action deleteProject --project \"ZHISTORY\" --continue",
|
242
|
+
"--action deleteProject --project \"ZIMPORT\" --continue",
|
243
|
+
"--action deleteProject --project \"ZJIRACLIA\" --continue",
|
244
|
+
"--action deleteProject --project \"ZJIRACLIB\" --continue",
|
245
|
+
"--action deleteProject --project \"ZJIRACLIC\" --continue",
|
246
|
+
"--action deleteProject --project \"ZJIRACLI\" --continue",
|
247
|
+
"--action deleteProject --project \"ZJIRACLID\" --continue",
|
248
|
+
"--action deleteProject --project \"ZJIRACLIE\" --continue",
|
249
|
+
"--action deleteProject --project \"ZJIRACLIX\" --continue",
|
250
|
+
"--action deleteProject --project \"ZLINKS\" --continue",
|
251
|
+
"--action deleteProject --project \"ZPROJECT\" --continue",
|
252
|
+
"--action deleteProject --project \"ZPROJECTE\" --continue",
|
253
|
+
"--action deleteProject --project \"ZPROJECTX\" --continue",
|
254
|
+
"--action deleteProject --project \"ZPROJECTZ\" --continue",
|
255
|
+
"--action deleteProject --project \"ZROLES\" --continue",
|
256
|
+
"--action deleteProject --project \"ZROLESX\" --continue",
|
257
|
+
"--action deleteProject --project \"ZRUNNERC\" --continue",
|
258
|
+
"--action deleteProject --project \"ZRUNNER\" --continue",
|
259
|
+
"--action deleteProject --project \"ZSUB\" --continue",
|
260
|
+
"--action deleteProject --project \"ZSUPPORT\" --continue",
|
261
|
+
"--action deleteProject --project \"ZUSER\" --continue",
|
262
|
+
"--action deleteProject --project \"ZVOTEWATCH\" --continue",
|
263
|
+
"--action deleteProject --project \"ZWORK\" --continue",
|
264
|
+
"--action deleteScreen --id \"1234556780\" --continue",
|
265
|
+
"--action deleteScreenScheme --id \"1234556780\" --continue",
|
266
|
+
"--action deleteVersion --project \"zjiracli\" --version \"auto2\" --continue",
|
267
|
+
"--action deleteVersion --project \"zjiracli\" --version \"BAD\" --continue",
|
268
|
+
"--action deleteVersion --project \"zjiracli\" --version \"swap1\" --affectsVersions \"swap2\" --fixVersions \"swap2\"",
|
269
|
+
"--action deleteVersion --project \"zjiracli\" --version \"swap2\" --fixVersions \"swap3\" --autoVersion --verbose",
|
270
|
+
"--action deleteVersion --project \"zjiracli\" --version \"swap3\"",
|
271
|
+
"--action deleteVersion --project \"ZRUNNER\" --version \"auto1csv\"",
|
272
|
+
"--action deleteWorkflow --name \"zjiracliworkflow\" --continue",
|
273
|
+
"--action deleteWorkflow --name \"zjiracliworkflow_new\" --continue",
|
274
|
+
"--action deleteWorkflowScheme --name \"zjiracliworkflow\" --continue",
|
275
|
+
"--action exportData --project \"ZEXPORT2\" --exportType \"Participants\"",
|
276
|
+
"--action exportData --project \"ZEXPORT2\" --file \"target/output/jiracliexport2/exportDataProject.txt\"",
|
277
|
+
"--action exportSite",
|
278
|
+
"--action exportWorkflow --file \"target/output/jiracliworkflow/exportWorkflow.txt\" --workflow \"jira\"",
|
279
|
+
"--action getApplicationLinkList --regex \"(?i)((confluence)|(jira)).*\"",
|
280
|
+
"--action getAttachment --issue \"ZATTACH-1\" --file \"target/output/jiracliattachments/binary.bin\" --verbose",
|
281
|
+
"--action getAttachment --issue \"ZATTACH-1\" --file \"target/output/jiracliattachments/dataFromStandardInput.txt\" --findReplace \"xxx:yyy\" --verbose",
|
282
|
+
"--action getAttachment --issue \"ZATTACH-1\" --file \"target/output/jiracliattachments/data.txt\" --findReplace \"xxx:yyy\"",
|
283
|
+
"--action getAttachment --issue \"ZATTACH-1\" --file \"target/output/jiracliattachments/getAttachment2.txt\" --name \"data.txt\" --findReplace \"xxx:yyy\"",
|
284
|
+
"--action getAttachment --issue \"ZATTACH-1\" --file \"target/output/jiracliattachments/large.zip\" --verbose",
|
285
|
+
"--action getAttachment --issue \"ZATTACH-1\" --file \"target/output/jiracliattachments/Special name #&?\"",
|
286
|
+
"--action getAttachmentList --issue \"ZATTACH-1\" --dateFormat \"yyyy-MM-dd HH:mm:ss:S\"",
|
287
|
+
"--action getAttachmentList --issue \"ZATTACH-1\" --dateFormat \"yyyy-MM-dd 'special format' HH:mm:ss:S z\"",
|
288
|
+
"--action getAvailableSteps --issue \"ZJIRACLI-3\"",
|
289
|
+
"--action getBoardList",
|
290
|
+
"--action getBoardList --regex \"ZAGILE.*\"",
|
291
|
+
"--action getClientInfo",
|
292
|
+
"--action getCommentList --issue \"ZCLICLONE-6\"",
|
293
|
+
"--action getCommentList --issue \"ZJIRACLI-1\" --dateFormat \"yyyy-MM-dd\"",
|
294
|
+
"--action getCommentList --issue \"ZSUB-3\" --limit 2",
|
295
|
+
"--action getComments --issue \"ZJIRACLI-12\"",
|
296
|
+
"--action getComments --issue \"ZLINKS-1\"",
|
297
|
+
"--action getComponentList --project \"ZCOMP2\" --outputFormat 999",
|
298
|
+
"--action getComponentList --project \"ZCOMP\" --outputFormat 999",
|
299
|
+
"--action getComponentList --project \"zjiracli\" --file \"target/output/jiracli/getComponentList.txt\"",
|
300
|
+
"--action getComponentList --project \"zjiracli\" --outputFormat 999",
|
301
|
+
"--action getComponent --project \"zjiracli\" --component \"C2\"",
|
302
|
+
"--action getComponent --project \"zjiracli\" --component \"C3\"",
|
303
|
+
"--action getComponent --project \"zjiracli\" --component \"C3First\"",
|
304
|
+
"--action getCustomFieldList",
|
305
|
+
"--action getCustomFieldList --regex \"zzz_.*\"",
|
306
|
+
"--action getFieldConfigurationList",
|
307
|
+
"--action getFieldConfigurationList --options \"deleteEnabled\"",
|
308
|
+
"--action getFieldConfigurationSchemeList",
|
309
|
+
"--action getFieldConfigurationSchemeList --options \"deleteEnabled\"",
|
310
|
+
"--action getFieldList",
|
311
|
+
"--action getFieldList --regex \"customfield_.*\"",
|
312
|
+
"--action getFieldValue --issue \"ZCUSTOM-1\" --field \"custom-cascade-select\"",
|
313
|
+
"--action getFieldValue --issue \"ZCUSTOM-4\" --field \"custom-multi-select\"",
|
314
|
+
"--action getFieldValue --issue \"ZCUSTOM-5\" --field \"custom-multi-checkbox\"",
|
315
|
+
"--action getFieldValue --issue \"ZFIELDS-1\" --field \"custom1\"",
|
316
|
+
"--action getFieldValue --issue \"ZFIELDS-1\" --field \"custom-datetime\" --dateFormat \"dd/MM/yyyy HH:mm:ss\"",
|
317
|
+
"--action getFieldValue --issue \"ZFIELDS-1\" --field \"description\"",
|
318
|
+
"--action getFieldValue --issue \"ZFIELDS-1\" --field \"environment\"",
|
319
|
+
"--action getFieldValue --issue \"ZFIELDS-2\" --field \"custom1\"",
|
320
|
+
"--action getFieldValue --issue \"ZFIELDS-2\" --field \"custom-multi-select\" --suppressId",
|
321
|
+
"--action getFieldValue --issue \"ZFIELDS-2\" --field \"custom-multi-select\" --withId",
|
322
|
+
"--action getFieldValue --issue \"ZFIELDS-3\" --field \"description\" --withId",
|
323
|
+
"--action getFieldValue --issue \"ZFIELDS-3\" --field \"priority\" --withId",
|
324
|
+
"--action getFieldValue --issue \"ZFIELDS-3\" --field \"reporter\" --withId",
|
325
|
+
"--action getFieldValue --issue \"ZFIELDS-3\" --field \"summary\" --withId",
|
326
|
+
"--action getFieldValue --issue \"ZFIELDS-3\" --field \"type\" --withId",
|
327
|
+
"--action getFieldValue --issue \"ZJIRACLI-10\" --field \"custom-versions\" --asVersion",
|
328
|
+
"--action getFieldValue --issue \"ZJIRACLI-11\" --field \"custom1\"",
|
329
|
+
"--action getFieldValue --issue \"ZJIRACLI-11\" --field \"custom2\"",
|
330
|
+
"--action getFieldValue --issue \"ZJIRACLI-11\" --field \"custom-versions\" --asVersion",
|
331
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"affectsVersions\"",
|
332
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"assignee\" --dateFormat \"d/MMM/yy\"",
|
333
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"components\"",
|
334
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"custom-labels\"",
|
335
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"duedate\" --dateFormat \"d/MMM/yy\"",
|
336
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"environment\"",
|
337
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"fixversions\"",
|
338
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"fixVersions\"",
|
339
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"fixversions\" --dateFormat \"d/MMM/yy\"",
|
340
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"parent\"",
|
341
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"reporter\" --dateFormat \"d/MMM/yy\"",
|
342
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"resolution\"",
|
343
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"resolutionDate\" --dateFormat \"d/MMM/yy\"",
|
344
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"resolution\" --dateFormat \"d/MMM/yy\"",
|
345
|
+
"--action getFieldValue --issue \"ZJIRACLI-3\" --field \"summary\"",
|
346
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"10010\"",
|
347
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"assignee\"",
|
348
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"currentESTIMATE\"",
|
349
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"custom1\"",
|
350
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"customfield_10010\"",
|
351
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"custom three\"",
|
352
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"custom-versions\" --asVersion",
|
353
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"custom-versions\" --suppressId",
|
354
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"duedate\"",
|
355
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"duedate\" --dateFormat \"yyyy-MM-dd\"",
|
356
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"duedate\" --dateFormat \"yyyy.MM.dd\"",
|
357
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"originalEstimate\"",
|
358
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"parent\"",
|
359
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"TIMEESTIMATE\"",
|
360
|
+
"--action getFieldValue --issue \"ZJIRACLI-5\" --field \"timespent\"",
|
361
|
+
"--action getFieldValue --issue \"ZJIRACLI-8\" --field \"labels\"",
|
362
|
+
"--action getFieldValue --issue \"ZJIRACLIX-1\" --field \"assignee\"",
|
363
|
+
"--action getFieldValue --issue \"ZJIRACLIX-2\" --field \"assignee\"",
|
364
|
+
"--action getFieldValue --issue \"ZSUB-3\" --field \"testcase1\"",
|
365
|
+
"--action getFieldValue --issue \"ZSUB-4\" --field \"environment\"",
|
366
|
+
"--action getFilter --id \"24903\"",
|
367
|
+
"--action getFilterList",
|
368
|
+
"--action getGroupList",
|
369
|
+
"--action getGroupList --regex \"jira.*\"",
|
370
|
+
"--action getIssueHistoryList --issue \"ZHISTORY-1\"",
|
371
|
+
"--action getIssueHistoryList --issue \"ZHISTORY-1\" --dateFormat \"yyyy-MM-dd HH:mm:ss.SSS\"",
|
372
|
+
"--action getIssue --issue \"ZAGILE-2\" --dateFormat \"yyyy-MM-dd HH:mm:ss.SSS\" --outputFormat 2 --suppressId",
|
373
|
+
"--action getIssue --issue \"ZCLICLONE-6\" --outputFormat 999",
|
374
|
+
"--action getIssue --issue \"ZCUSTOM-2\"",
|
375
|
+
"--action getIssue --issue \"ZCUSTOM-3\"",
|
376
|
+
"--action getIssue --issue \"ZCUSTOM-6\" --dateFormat \"yyyy-MM-dd\"",
|
377
|
+
"--action getIssue --issue \"ZCUSTOM-7\"",
|
378
|
+
"--action getIssue --issue \"ZCUSTOM-7\" --dateFormat \"yyyy-MM-dd\"",
|
379
|
+
"--action getIssue --issue \"ZFIELDS-3\"",
|
380
|
+
"--action getIssue --issue \"ZFIELDS-4\" --suppressId",
|
381
|
+
"--action getIssue --issue \"ZJIRACLI-12\"",
|
382
|
+
"--action getIssue --issue \"ZJIRACLI-13\"",
|
383
|
+
"--action getIssue --issue \"ZJIRACLI-3\" --dateFormat \"M/dd/yyyy HH:mm:ss\" --outputFormat 2 --suppressId",
|
384
|
+
"--action getIssue --issue \"ZJIRACLI-3\" --dateFormat \"yyyy.MM.dd 'special format' HH:mm:ss z\"\"\" --outputFormat 2",
|
385
|
+
"--action getIssue --issue \"ZJIRACLI-3\" --outputFormat 2",
|
386
|
+
"--action getIssue --issue \"ZJIRACLI-5\" --field \"assignee\"",
|
387
|
+
"--action getIssue --issue \"ZJIRACLI-5\" --outputFormat \"2\"",
|
388
|
+
"--action getIssue --issue \"ZJIRACLI-8\" --outputFormat \"2\"",
|
389
|
+
"--action getIssue --issue \"ZJIRACLIB-2\"",
|
390
|
+
"--action getIssue --issue \"ZJIRACLIB-2\" --dateFormat \"yyyy.MM.dd 'special format' HH:mm:ss z\"\"\"",
|
391
|
+
"--action getIssue --issue \"ZLINKS-1\" --outputFormat 2",
|
392
|
+
"--action getIssue --issue \"ZSUB-1\" --suppressId",
|
393
|
+
"--action getIssue --issue \"ZSUB-2\" --suppressId",
|
394
|
+
"--action getIssue --issue \"ZUSER-1\"",
|
395
|
+
"--action getIssue --issue \"ZWORK-1\" --outputFormat 2",
|
396
|
+
"--action getIssue --issue \"ZWORK-2\" --outputFormat 2",
|
397
|
+
"--action getIssueList --file \"target/output/jiracliclone/getIssueListChangeType.txt\" --jql \"project = ZCLICLONEX and type = 'improvement'\"",
|
398
|
+
"--action getIssueList --file \"target/output/jiracli/getIssueListAllFieldsExceptCustom.txt\" --jql \"project = 'zjiracli'\" --outputFormat 998",
|
399
|
+
"--action getIssueList --file \"target/output/jiracli/getIssueListAllFields.txt\" --jql \"project = 'zjiracli'\" --outputFormat 999",
|
400
|
+
"--action getIssueList --file \"target/output/jiracli/getIssueListChangeType.txt\" --jql \"project = zjiracliA and type = 'improvement'\"",
|
401
|
+
"--action getIssueList --file \"target/output/jiracli/getIssueListOutputFormat200.txt\" --jql \"project = 'zjiracli'\" --outputFormat 200",
|
402
|
+
"--action getIssueList --file \"target/output/jiracli/getIssueListSearch.txt\" --jql \"project = zjiracli or project = zjiracliX\"",
|
403
|
+
"--action getIssueList --file \"target/output/jiracli/getIssueList.txt\" --filter \"all\"",
|
404
|
+
"--action getIssueList --filter \"all\" --outputFormat 2 --limit 75",
|
405
|
+
"--action getIssueList --jql \"issuetype in subTaskIssueTypes() and parent = ZJIRACLI-3\"",
|
406
|
+
"--action getIssueList --jql \"issue = ZJIRACLIB-2\" --outputFormat 2",
|
407
|
+
"--action getIssueList --jql \"issue = ZJIRACLIB-2\" --outputFormat 3",
|
408
|
+
"--action getIssueList --jql \"issue = ZVOTEWATCH-1 and watcher = 'user' and watcher = 'developer'\"",
|
409
|
+
"--action getIssueList --jql \"issue = ZVOTEWATCH-1 and (watcher = 'user' or watcher = 'developer')\"",
|
410
|
+
"--action getIssueList --jql \"issue = ZWORK-1\" --outputFormat 5",
|
411
|
+
"--action getIssueList --jql \"key = ZCUSTOM-4\" --outputFormat \"2\" --columns \"testcase1,testcase2,key,summary,labels,Subtasks,Business Value,custom three,custom-group-picker,custom-multi-user-picker,custom-user-picker,custom-versions,custom-multi-select,Story Points,testcase1,testcase2,last comment\"",
|
412
|
+
"--action getIssueList --jql \"key = ZCUSTOM-4\" --outputFormat \"4\" --columns \"testcase1,testcase2,key,summary,labels,Subtasks,Business Value,custom three,custom-group-picker,custom-multi-user-picker,custom-user-picker,custom-versions,custom-multi-select,Story Points,testcase1,testcase2,last comment\"",
|
413
|
+
"--action getIssueList --jql \"key = ZCUSTOM-4\" --outputFormat \"5\" --columns \"testcase1,testcase2,key,summary,labels,Subtasks,Business Value,custom three,custom-group-picker,custom-multi-user-picker,custom-user-picker,custom-versions,custom-multi-select,Story Points,testcase1,testcase2,last comment\"",
|
414
|
+
"--action getIssueList --jql \"key = ZCUSTOM-4\" --outputFormat \"999\" --columns \"testcase1,testcase2,key,summary,labels,Subtasks,Business Value,custom three,custom-group-picker,custom-multi-user-picker,custom-user-picker,custom-versions,custom-multi-select,Story Points,testcase1,testcase2,last comment\"",
|
415
|
+
"--action getIssueList --jql \"parent = ZCLICLONE-11 and summary ~ 'Subtask 1'\"",
|
416
|
+
"--action getIssueList --jql \"project = ZCLICLONEX and type = 'improvement'\" --limit 1",
|
417
|
+
"--action getIssueList --jql \"project = ZCLICLONEZ and issuetype in subTaskIssueTypes()\"",
|
418
|
+
"--action getIssueList --jql \"project = 'zcustom'\" --outputFormat 999",
|
419
|
+
"--action getIssueList --jql \"project = zjiracliA and type = 'improvement'\" --limit 2",
|
420
|
+
"--action getIssueList --jql \"project = 'zjiracli' and labels != null\" --outputFormat 999",
|
421
|
+
"--action getIssueList --jql \"project = 'zjiracli' order by key desc\" --outputFormat 4 --dateFormat \"yyyy-MM-dd\"",
|
422
|
+
"--action getIssueList --jql \"project = 'zjiracli'\" --outputFormat 999 --columns \"key,2,custom1,custom2,description,\"",
|
423
|
+
"--action getIssueList --jql \"project = 'zjiracli'\" --outputFormat 999 --dateFormat \"yyyy.MM.dd\" --columns \"key,created,last comment user, last comment date, last comment\"",
|
424
|
+
"--action getIssueList --jql \"project = zlinks and issue in linkedIssues(ZLINKS-1, 'duplicates')\"",
|
425
|
+
"--action getIssueList --jql \"project = zlinks and issue in linkedIssues(ZLINKS-1, 'duplicates')\" --outputFormat 999",
|
426
|
+
"--action getIssueList --jql \"project = 'zlinks'\" --outputFormat 998 --dateFormat \"yyyy-MM-dd\"",
|
427
|
+
"--action getIssueList --jql \"project = ZRUNNER and labels = 'fieldValues'\" --outputFormat 2",
|
428
|
+
"--action getIssueList --project \"ZAGILEC\" --dateFormat \"yyyy-MM-dd HH:mm:ss.SSS\" --outputFormat 2 --suppressId --columns \"Key,Summary,Epic Link\"",
|
429
|
+
"--action getIssueList --project \"zjiracli\" --file \"target/output/jiracli/getIssueListProject.txt\" --outputFormat 101",
|
430
|
+
"--action getIssueList --search \"key = ZCUSTOM-4\" --outputFormat \"2\" --columns \"testcase1,testcase2,key,summary,labels,Subtasks,Business Value,custom three,custom-group-picker,custom-multi-user-picker,custom-user-picker,custom-versions,custom-multi-select,Story Points,testcase1,testcase2,last comment\"",
|
431
|
+
"--action getIssueList --search \"key = ZCUSTOM-4\" --outputFormat \"4\" --columns \"testcase1,testcase2,key,summary,labels,Subtasks,Business Value,custom three,custom-group-picker,custom-multi-user-picker,custom-user-picker,custom-versions,custom-multi-select,Story Points,testcase1,testcase2,last comment\"",
|
432
|
+
"--action getIssueList --search \"key = ZCUSTOM-4\" --outputFormat \"5\" --columns \"testcase1,testcase2,key,summary,labels,Subtasks,Business Value,custom three,custom-group-picker,custom-multi-user-picker,custom-user-picker,custom-versions,custom-multi-select,Story Points,testcase1,testcase2,last comment\"",
|
433
|
+
"--action getIssueList --search \"key = ZCUSTOM-4\" --outputFormat \"999\" --columns \"testcase1,testcase2,key,summary,labels,Subtasks,Business Value,custom three,custom-group-picker,custom-multi-user-picker,custom-user-picker,custom-versions,custom-multi-select,Story Points,testcase1,testcase2,last comment\"",
|
434
|
+
"--action getIssue --project \"ZCLICLONE\" --issue \"ZCLICLONE-15\"",
|
435
|
+
"--action getIssue --project \"ZCLICLONE\" --issue \"ZCLICLONE-2\"",
|
436
|
+
"--action getIssueSecuritySchemeList",
|
437
|
+
"--action getIssueSecuritySchemeList --options \"deleteEnabled\"",
|
438
|
+
"--action getIssueTypeList",
|
439
|
+
"--action getIssueTypeList --project \"@all\"",
|
440
|
+
"--action getIssueTypeList --project \"ZPROJECT\"",
|
441
|
+
"--action getIssueTypeSchemeList",
|
442
|
+
"--action getIssueTypeSchemeList --options \"deleteEnabled\"",
|
443
|
+
"--action getIssueTypeScreenSchemeList",
|
444
|
+
"--action getIssueTypeScreenSchemeList --options \"deleteEnabled\"",
|
445
|
+
"--action getLinkList --issue \"ZLINKS-1\"",
|
446
|
+
"--action getLinkList --issue \"ZLINKS-1\" --regex \"duplicate\"",
|
447
|
+
"--action getLinkList --issue \"ZLINKS-2\"",
|
448
|
+
"--action getLinkList --jql \"parent = ZLINKS-1 or key = ZLINKS-1 order by key\"",
|
449
|
+
"--action getLinkTypeList",
|
450
|
+
"--action getLoginInfo --dateFormat \"yyyy-MM-dd HH:mm:ss\"",
|
451
|
+
"--action getNotificationSchemeList",
|
452
|
+
"--action getNotificationSchemeList --options \"deleteEnabled\"",
|
453
|
+
"--action getPermissionSchemeList",
|
454
|
+
"--action getPermissionSchemeList --options \"deleteEnabled\"",
|
455
|
+
"--action getProjectCategoryList",
|
456
|
+
"--action getProjectList --category \"\" --regex \"ZPROJECT.*\" --columns \"key\"",
|
457
|
+
"--action getProjectList --file \"target/output/jiracli/getProjectListClone.txt\" --outputFormat 2",
|
458
|
+
"--action getProjectList --file \"target/output/jiracliproject/getProjectList.txt\"",
|
459
|
+
"--action getProjectList --lead \"developer\" --lookup --regex \"ZPROJECT.*\"",
|
460
|
+
"--action getProjectList --regex \"ZPROJECT\" --outputFormat 999",
|
461
|
+
"--action getProject --project \"ZCLICLONET\"",
|
462
|
+
"--action getProject --project \"ZCLICLONEX\"",
|
463
|
+
"--action getProject --project \"ZCLICLONEY\"",
|
464
|
+
"--action getProject --project \"zjiracli\"",
|
465
|
+
"--action getProject --project \"zjiracliD\"",
|
466
|
+
"--action getProject --project \"zjiracliX\"",
|
467
|
+
"--action getProject --project \"zjiracliX\" --suppressId",
|
468
|
+
"--action getProject --project \"ZPROJECT\"",
|
469
|
+
"--action getProject --project \"ZPROJECTX\"",
|
470
|
+
"--action getProjectRoleActorList --project \"zjiracliB\" --role \"users\"",
|
471
|
+
"--action getProjectRoleActorList --project \"ZROLES\" --role \"@all\" --outputFormat 2",
|
472
|
+
"--action getProjectRoleActorList --project \"ZROLES\" --role \"users\"",
|
473
|
+
"--action getProjectRoleByUserList --userId \"@all\" --columns \"User,Project,Administrators,Developers,Users,View\" --regex \"ZROLES\"",
|
474
|
+
"--action getProjectRoleByUserList --userId \"automation\" --columns \"User,Project,Administrators,Developers,Users,View\" --regex \"ZROLES.*\"",
|
475
|
+
"--action getProjectRoleList",
|
476
|
+
"--action getProjectRoleList --regex \"zAdd project role test.*\"",
|
477
|
+
"--action getScreenList",
|
478
|
+
"--action getScreenList --options \"deleteEnabled\"",
|
479
|
+
"--action getScreenList --regex \"(?i).*default.*\"",
|
480
|
+
"--action getScreenSchemeList",
|
481
|
+
"--action getScreenSchemeList --options \"deleteEnabled\"",
|
482
|
+
"--action getSecurityLevelList --project \"zjiracli\"",
|
483
|
+
"--action getSecurityLevelList --project \"zjiracliB\"",
|
484
|
+
"--action getServerInfo --dateFormat \"yyyy-MM-dd\"",
|
485
|
+
"--action getServerInfo --debug",
|
486
|
+
"--action getServerInfo --outputFormat 2 --dateFormat \"yyyy-MM-dd HH:mm\"",
|
487
|
+
"--action getServerInfo --outputFormat 999",
|
488
|
+
"--action getStatusList",
|
489
|
+
"--action getStatusList --project \"zjiracli\"",
|
490
|
+
"--action getTransitionList --issue \"ZJIRACLI-3\"",
|
491
|
+
"--action getTransitionList --issue \"ZJIRACLI-3\" --outputFormat 2",
|
492
|
+
"--action getUserList --group \"jira-users\" --regex \"testuser1\" --outputFormat 999",
|
493
|
+
"--action getUserList --group \"testgroup2\"",
|
494
|
+
"--action getUserList --group \"testgroup2\" --outputFormat 2",
|
495
|
+
"--action getUserList --name \"@all\"",
|
496
|
+
"--action getUserList --name \"@all\" --regex \".*@x.com\"",
|
497
|
+
"--action getUserList --name \"testuser\" --outputFormat 1",
|
498
|
+
"--action getUserList --name \"testuser\" --outputFormat 2",
|
499
|
+
"--action getUserList --project \"zuser\" --role \"developers\"",
|
500
|
+
"--action getUser --userId \"Testuser3\"",
|
501
|
+
"--action getUser --userKey \"testuser3\"",
|
502
|
+
"--action getVersionList --project \"zjiracli\"",
|
503
|
+
"--action getVersionList --project \"zjiracli\" --outputFormat 2",
|
504
|
+
"--action getVersionList --project \"zjiracli\" --outputFormat 999 --dateFormat \"yyyy.MM.dd\"",
|
505
|
+
"--action getVersion --project \"zjiracliA\" --version \"V1\" --dateFormat \"yyyy.MM.dd\"",
|
506
|
+
"--action getVersion --project \"zjiracliC\" --version \"V2\" --outputFormat 999",
|
507
|
+
"--action getVersion --project \"zjiracli\" --name \"V1\" --dateFormat \"yyyy MM dd\"",
|
508
|
+
"--action getVersion --project \"zjiracli\" --version \"auto2\" --dateFormat \"yyyy.MM.dd\"",
|
509
|
+
"--action getVersion --project \"zjiracli\" --version \"V2\" --dateFormat \"yyyy.MM.dd\"",
|
510
|
+
"--action getVersion --project \"zjiracli\" --version \"With Blanks\"",
|
511
|
+
"--action getVoterList --issue \"ZVOTEWATCH-1\"",
|
512
|
+
"--action getVoterList --issue \"ZVOTEWATCH-1\" --outputFormat 2",
|
513
|
+
"--action getVoterList --issue \"ZVOTEWATCH-1\" --outputFormat 999",
|
514
|
+
"--action getWatcherList --issue \"ZVOTEWATCH-1\"",
|
515
|
+
"--action getWatcherList --issue \"ZVOTEWATCH-1\" --outputFormat 2",
|
516
|
+
"--action getWatcherList --issue \"ZVOTEWATCH-1\" --outputFormat 999",
|
517
|
+
"--action getWorkflowList --dateFormat \"yyyy-MM-dd\" --regex \"(Agile Simplified)|(jira)\"",
|
518
|
+
"--action getWorkflow --workflow \"Agile Simplified\" --dateFormat \"yyyy-MM-dd\"",
|
519
|
+
"--action getWorkList --issue \"ZWORK-1\"",
|
520
|
+
"--action getWorkList --issue \"ZWORK-1\" --dateFormat \"yyyy-MM-dd HH:mm:ss.SSS\"",
|
521
|
+
"--action import --file \"src/itest/resources/importProjects.json\" --options \"logFile=-\"",
|
522
|
+
"--action linkIssue --issue \"249453\" --toIssue \"249454\" --link \"10011\" --comment \"Link comment\"",
|
523
|
+
"--action linkIssue --issue \"ZCLICLONE-4\" --toIssue \"ZCLICLONE-1\" --link \"relates\"",
|
524
|
+
"--action linkIssue --issue \"ZLINKS-1\" --toIssue \"ZLINKS-2\" --link \"relates\" --comment \"Link comment\"",
|
525
|
+
"--action linkIssue --issue \"ZLINKS-1\" --toIssue \"ZLINKS-2\" --link \"relates\" --comment \"Link comment with group\" --group \"jira-users\"",
|
526
|
+
"--action linkIssue --issue \"ZLINKS-1\" --toIssue \"ZLINKS-2\" --link \"relates\" --comment \"Link comment with role and group\" --role \"Developers\" --group \"jira-users\"",
|
527
|
+
"--action linkIssue --issue \"ZLINKS-1\" --toIssue \"ZLINKS-2\" --link \"relates\" --comment \"Link comment with role\" --role \"Developers\"",
|
528
|
+
"--action linkIssue --issue \"ZLINKS-1\" --toIssue \"ZLINKS-3\" --link \"duplicate\" --verbose",
|
529
|
+
"--action linkIssue --issue \"ZLINKS-1\" --toIssue \"ZLINKS-3\" --link \"relates\"",
|
530
|
+
"--action linkIssue --issue \"ZSUB-1\" --toIssue \"ZSUB-2\" --link \"relates\"",
|
531
|
+
"--action login --outputFormat 2 --dateFormat \"yyyy-MM-dd HH:mm:ss\"",
|
532
|
+
"--action login > target/output/jiracliinfo/login.txt",
|
533
|
+
"--action logout -l < target/output/jiracliinfo/login.txt",
|
534
|
+
"--action modifyFieldValue --issue \"ZFIELDS-4\" --field \"fixVersions\" --field2 \"components\" --findReplace \"'V2:V3,V4', C1:C2\" --autoVersion --autoComponent",
|
535
|
+
"--action modifyFieldValue --issue \"ZFIELDS-4\" --field \"summary\" --field2 \"environment\" --findReplace \"original:modified\"",
|
536
|
+
"--action releaseVersion --project \"zjiracli\" --name \"V1\" --continue",
|
537
|
+
"--action releaseVersion --project \"zjiracli\" --name \"V1\" --dateFormat \"yyyy.MM.dd\" --description \"V1 description released\"",
|
538
|
+
"--action removeAttachment --issue \"ZATTACH-1\" --id \"63115\"",
|
539
|
+
"--action removeAttachment --issue \"ZATTACH-1\" --name \"data.txt\"",
|
540
|
+
"--action removeCustomField --field \"22507\" --continue",
|
541
|
+
"--action removeCustomField --field \"customfield_22509\" --continue",
|
542
|
+
"--action removeCustomField --field \"zzimport1\" --type \"com.atlassian.jira.plugin.system.customfieldtypes:textfield\" --continue",
|
543
|
+
"--action removeCustomField --field \"zzz_Select List (single choice)\" --continue",
|
544
|
+
"--action removeGroup --group \"bad\"",
|
545
|
+
"--action removeGroup --group \"Testgroup1\"",
|
546
|
+
"--action removeGroup --group \"testgroup2\"",
|
547
|
+
"--action removeLabels --issue \"ZJIRACLI-8\" --labels \"addLabel1 addLabel2\"",
|
548
|
+
"--action removeLabels --issue \"ZJIRACLI-9\" --labels \"xxx\"",
|
549
|
+
"--action removeProjectRoleActors --project \"zjiracli\" --role \"users\" --userId \"user, admin\"",
|
550
|
+
"--action removeProjectRoleActors --project \"ZROLES\" --role \"users\" --userId \"user, admin\"",
|
551
|
+
"--action removeProjectRoleActors --project \"ZROLESX\" --role \"users\" --userId \"user, admin\"",
|
552
|
+
"--action removeProjectRole --name \"zAdd project role test\" --continue",
|
553
|
+
"--action removeProjectRole --name \"zAdd project role test updated\" --continue",
|
554
|
+
"--action removeUser --userId \"BAD\"",
|
555
|
+
"--action removeUser --userId \"testuser1\"",
|
556
|
+
"--action removeUser --userId \"testuser1New\"",
|
557
|
+
"--action removeUser --userId \"testuser2\"",
|
558
|
+
"--action removeUser --userId \"Testuser3\"",
|
559
|
+
"--action removeVote --issue \"ZVOTEWATCH-1\" --user \"developer\" --password \"asDeVqeTwsjtr4GnyKwf\"",
|
560
|
+
"--action removeWatchers --issue \"ZVOTEWATCH-1\" --userId \"invalid, xxxxxx\" --continue",
|
561
|
+
"--action removeWatchers --issue \"ZVOTEWATCH-1\" --userId \"user, developer\"",
|
562
|
+
"--action removeWork --issue \"ZWORK-1\" --id \"32811\"",
|
563
|
+
"--action renderRequest --file \"target/output/jiracli/renderRequestInvalidType.txt\" --type \"INVALID\" --verbose",
|
564
|
+
"--action renderRequest --issue \"ZJIRACLI-3\" --file \"target/output/jiracli/renderRequest.txt\"",
|
565
|
+
"--action renderRequest --project \"zjiracli\" --file \"target/output/jiracli/verifyProjectIssueTypeScreenScheme.txt\" --request \"plugins/servlet/project-config/ZJIRACLI/summary\"",
|
566
|
+
"--action renderRequest --project \"zjiracli\" --file \"target/output/jiracli/verifyUpdateProjectIssueTypeScreenSchemeDefault.txt\" --request \"plugins/servlet/project-config/ZJIRACLI/summary\"",
|
567
|
+
"--action renderRequest --request \"/rest/project-templates/1.0/templates\" --type \"FORM_URL_ENCODED\" --acceptType \"JSON\" --verbose",
|
568
|
+
"--action run",
|
569
|
+
"--action run --common \"--issue ZSUB-4\"",
|
570
|
+
"--action run --file \"-\"",
|
571
|
+
"--action run --file \"src/itest/resources//renderRequest.txt\" --findReplace \"@project@:zjiracli\"",
|
572
|
+
"--action run --file \"src/itest/resources/runReplaceMapReference.txt\" --common \"--project ZRUNNER --labels JCLI528\"",
|
573
|
+
"--action run --file \"src/itest/resources/runReplaceMap.txt\" --common \"--project ZRUNNER\"",
|
574
|
+
"--action run --file \"src/itest/resources/run.txt\"",
|
575
|
+
"--action run --file \"src/itest/resources/runWithFindReplace.txt\" --findReplace \"##action##:getServerInfo\"",
|
576
|
+
"--action run --file \"target/output/jiracliexport2/exportDataProject.txt\" --findReplace \"--project ZEXPORT2:--project ZEXPORT2E\" --findReplaceRegex \"--name [^-]*:\"",
|
577
|
+
"--action runFromAttachmentList --issue \"ZRUNNER-1\" --common \"-a getAttachment --file \"\"target/output/jiraclirunner/Attachment-@attachment@\"\" --name @attachmentId@ --issue ZRUNNER-1\"",
|
578
|
+
"--action runFromAttachmentList --issue \"ZRUNNER-1\" --common \"-a getAttachment --file \"\"target/output/jiraclirunner/Attachment-@attachment@\"\" --name @attachment@ --issue ZRUNNER-1\"",
|
579
|
+
"--action runFromComponentList --project \"ZRUNNER\" --common \"-a getComponent --project ZRUNNER --version \"\"@component@\"\"\" --continue",
|
580
|
+
"--action runFromCsv --file \"src/itest/resources/createUpdate.csv\" --common \"--project ZRUNNER\"",
|
581
|
+
"--action runFromCsv --file \"src/itest/resources/import2.csv\" --propertyFile \"src/itest/resources/import.properties\" --common \"--project ZRUNNER --action createIssue\" --continue",
|
582
|
+
"--action runFromCsv --file \"src/itest/resources/import.csv\" --propertyFile \"src/itest/resources/import.properties\" --common \"--project ZRUNNER\" --continue",
|
583
|
+
"--action runFromCsv --file \"src/itest/resources/run2.csv\" --common \"-a createIssue --project ZRUNNER\"",
|
584
|
+
"--action runFromCsv --file \"src/itest/resources/run.csv\" --findReplace \"@project@:ZRUNNER\"",
|
585
|
+
"--action runFromCsv --file \"src/itest/resources/runFieldValues.csv\" --common \"--project ZRUNNER --action createIssue --type bug --summary xxx\" --continue",
|
586
|
+
"--action runFromCsv --file \"src/itest/resources//runIgnoreFields.csv\" --propertyFile \"src/itest/resources//runIgnoreFields.properties\" --common \"--project ZRUNNER --action createIssue\"",
|
587
|
+
"--action runFromCsv --file \"src/itest/resources/runsimple.csv\" --common \"--action getProject\"",
|
588
|
+
"--action runFromCsv --file \"src/itest/resources/runUsingProperties.csv\" --propertyFile \"src/itest/resources/runUsingProperties.properties\" --common \"-a createIssue --project ZRUNNER\"",
|
589
|
+
"--action runFromFieldConfigurationList --limit 2 --special \" #\" --common \"--action getClientInfo --reference @: @fieldConfiguration@# \"",
|
590
|
+
"--action runFromFieldConfigurationSchemeList --limit 2 --special \" #\" --common \"--action getClientInfo --reference @: @scheme@# \"",
|
591
|
+
"--action runFromFieldConfigurationSchemeList --regex \"ZCOPY\" --common \"--action deleteFieldConfigurationScheme --id @schemeId@\" --options \"deleteEnabled\" --limit 10",
|
592
|
+
"--action runFromGroupList --regex \"group number .*\" --common \"-a removeGroup --group ~@group@~\" --special \" ~\"",
|
593
|
+
"--action runFromGroupList --regex \"jira.*\" --limit 1 --common \"-a getServerInfo --comment ~group: @group@~\" --special \" ~\"",
|
594
|
+
"--action runFromIssueList --common '--action cloneIssue --issue @issue@ --toProject ZRUNNERC --description \"Bulk clone example\" ' --search 'project = ZRUNNER and summary ~ \"volume-*\"'",
|
595
|
+
"--action runFromIssueList --common \"--action deleteIssue --issue @issue@ \" --search 'project = ZRUNNER and summary ~ \"volume-*\"'",
|
596
|
+
"--action runFromIssueList --file \"-\" --jql \"project = 'zjiracli' and labels != null\" --common \"--action addLabels\"",
|
597
|
+
"--action runFromIssueList --file \"-\" --jql \"project = 'zjiracli' and labels != null\" --common \"--issue @issue@\" --findReplace \"##label##:done-by-action\"",
|
598
|
+
"--action runFromIssueList --jql \"issuetype = Sub-task\" --common \"-a getIssue --issue @parent@ --comment issue:@issue@,id:@issueId@,project:@project@,projectId:@projectId@,parent:@parent@,parentId:@parentId@\" --limit 1",
|
599
|
+
"--action runFromIssueList --jql \"labels in (JCLI528)\" --common \"-a getIssue --issue @issue@ --outputFormat 999\"",
|
600
|
+
"--action runFromIssueList --jql \"project in (ZJIRACLI)\" --common \"-a getAttachmentList --outputFormat 999 --issue \"\"@issue@\"\" --file target/output/jiracliproject/attachmentList.csv --append\" --continue",
|
601
|
+
"--action runFromIssueList --jql \"project in (ZJIRACLI)\" --common \"-a getLinkList --issue \"\"@issue@\"\" --file target/output/jiracliproject/linkList.csv --append\" --continue",
|
602
|
+
"--action runFromIssueList --jql \"project in (ZJIRACLI, ZHISTORY)\" --common \"-a getIssueHistoryList --issue \"\"@issue@\"\" --file target/output/jiracliproject/historyList.csv --dateFormat: yyyy-MM-dd_HH:mm:ss.SSS --append\" --continue",
|
603
|
+
"--action runFromIssueList --jql \"project in (ZWORK)\" --common \"-a getWorkList --outputFormat 999 --issue \"\"@issue@\"\" --file target/output/jiracliwork/workList.csv --append\" --continue",
|
604
|
+
"--action runFromIssueList --jql \"project = 'zjiracli' and labels != null\" --common \"--action addLabels --issue @issue@ --labels done-by-action\"",
|
605
|
+
"--action runFromIssueSecuritySchemeList --limit 2 --special \" #\" --common \"--action getClientInfo --reference @: @scheme@# \"",
|
606
|
+
"--action runFromIssueSecuritySchemeList --regex \"ZCOPY\" --common \"--action deleteIssueSecurityScheme --id @schemeId@\" --options \"deleteEnabled\" --limit 10",
|
607
|
+
"--action runFromIssueTypeSchemeList --limit 2 --special \" #\" --common \"--action getClientInfo --reference @: @scheme@# \"",
|
608
|
+
"--action runFromIssueTypeSchemeList --regex \"ZCOPY\" --common \"--action deleteIssueTypeScheme --id @schemeId@\" --options \"deleteEnabled\" --limit 10",
|
609
|
+
"--action runFromIssueTypeScreenSchemeList --limit 2 --special \" #\" --common \"--action getClientInfo --reference @: @scheme@# \"",
|
610
|
+
"--action runFromIssueTypeScreenSchemeList --regex \"ZCOPY\" --common \"--action deleteIssueTypeScreenScheme --id @schemeId@\" --options \"deleteEnabled\" --limit 10",
|
611
|
+
"--action runFromLinkList --jql \"parent = ZLINKS-1 or key = ZLINKS-1 order by key\" --common \"-a getClientInfo --options ~from: @fromIssue@, to: @toIssue@, type: @linkType@, typeId: @linkTypeId@, description: @linkDescription@, id: @linkId@~\" --special \" ~\"",
|
612
|
+
"--action runFromLinkList --options \"outward\" --regex \"relates\" --jql \"parent = ZLINKS-1 or key = ZLINKS-1 order by key\" --common \"-a getClientInfo --options ~from: @fromIssue@, to: @toIssue@, type: @linkType@, typeId: @linkTypeId@, description: @linkDescription@, id: @linkId@~\" --special \" ~\"",
|
613
|
+
"--action runFromList --list \"1, 2, 3\" --common \"--action createIssue --project ZRUNNER --type task --summary volume-@entry@ \"",
|
614
|
+
"--action runFromList --list \"aaa\" --common \"--action getServerInfo\" --debug",
|
615
|
+
"--action runFromList --list \"A,B\" --common \"-a getProject --project ZRUNNER --cookies target/output/jiraclirunner/cookiesBoth.txt -v\" --cookies \"target/output/jiraclirunner/parentCookiesBoth.txt\" --verbose",
|
616
|
+
"--action runFromList --list \"A,B\" --common \"-a getProject --project ZRUNNER --cookies target/output/jiraclirunner/cookies.txt -v\" --verbose",
|
617
|
+
"--action runFromList --list \"A,B\" --common \"-a getProject --project ZRUNNER -v\" --cookies \"target/output/jiraclirunner/parentCookies.txt\" --verbose",
|
618
|
+
"--action runFromList --list \"a\" --common \"--issue ZSUB-4 --action setFieldValue --field environment --value \"\"%original_description%\"\"\"",
|
619
|
+
"--action runFromList --list \"Client, Server\" --common \"-a get@entry@Info\"",
|
620
|
+
"--action runFromList --list \"custom, Default Issue Type Scheme, custom,\" --continue --common '-a updateProject --project ZRUNNER --issueTypeScheme \"@entry@\"'",
|
621
|
+
"--action runFromList --list \"NOT_FOUND, ZRUNNER\" --common \"-a getProjectList --regex @entry@ --append -f target/output/jiraclirunner/runFromListAppend.txt\" --clearFileBeforeAppend",
|
622
|
+
"--action runFromList --list \"xxx, yyy\" --common \"--action runFromProjectList --regex ~(?i)jira|ZRUNNER~ --common ~--action getProject --project @project@ --comment @entry@ ~\" --special \" ~\"",
|
623
|
+
"--action runFromNotificationSchemeList --limit 2 --special \" #\" --common \"--action getClientInfo --reference @: @scheme@# \"",
|
624
|
+
"--action runFromNotificationSchemeList --regex \"ZCOPY\" --common \"--action deleteNotificationScheme --id @schemeId@\" --options \"deleteEnabled\" --limit 10",
|
625
|
+
"--action runFromPermissionSchemeList --limit 2 --special \" #\" --common \"--action getClientInfo --reference @: @scheme@# \"",
|
626
|
+
"--action runFromPermissionSchemeList --regex \"ZCOPY\" --common \"--action deletePermissionScheme --id @schemeId@\" --options \"deleteEnabled\" --limit 10",
|
627
|
+
"--action runFromProjectList --category \"another\" --common \"-a getProject --project @project@\"",
|
628
|
+
"--action runFromProjectList --common \"-a getProject --project \"\"@projectId@\"\"\" --continue --regex \"ZRUNNER\"",
|
629
|
+
"--action runFromProjectList --common \"-a getProject --project \"\"@project@\"\"\" --limit 5 --continue",
|
630
|
+
"--action runFromProjectList --lead \"developer\" --regex \"ZPROJECT.*\" --common \"-a getProject --project @project@\"",
|
631
|
+
"--action runFromProjectList --regex \"ZJIRACLI.*|ZPROJECT\" --common \"-a getComponentList --outputFormat 999 --project \"\"@project@\"\" --file target/output/jiracliproject/componentList.csv --append\" --continue",
|
632
|
+
"--action runFromProjectList --regex \"ZJIRACLI.*|ZPROJECT\" --common \"-a getIssueTypeList --project \"\"@project@\"\" --file target/output/jiracliproject/issueTypeList.csv --append\" --continue",
|
633
|
+
"--action runFromProjectList --regex \"ZJIRACLI.*|ZPROJECT\" --common \"-a getSecurityLevelList --outputFormat 999 --project \"\"@project@\"\" --file target/output/jiracliproject/securityLevelList.csv --append\" --continue",
|
634
|
+
"--action runFromProjectList --regex \"ZJIRACLI.*|ZPROJECT\" --common \"-a getVersionList --outputFormat 999 --project \"\"@project@\"\" --file target/output/jiracliproject/versionList.csv --append\" --continue",
|
635
|
+
"--action runFromScreenList --limit 2 --special \" #\" --common \"--action getClientInfo --reference @: @screen@# \"",
|
636
|
+
"--action runFromScreenSchemeList --limit 2 --special \" #\" --common \"--action getClientInfo --reference @: @scheme@# \"",
|
637
|
+
"--action runFromScreenSchemeList --regex \"ZCOPY\" --common \"--action deleteScreenScheme --id @schemeId@\" --options \"deleteEnabled\" --limit 10",
|
638
|
+
"--action runFromUserList --name \"@all\" --limit 2 --regex \"((admin)|(automation))\" --common \"--action getServerInfo --comment @userId@\"",
|
639
|
+
"--action runFromVersionList --project \"ZRUNNER\" --common \"-a getVersion --project @projectId@ --version \"\"@versionId@\"\"\" --continue --regex \"V1\"",
|
640
|
+
"--action runFromVersionList --project \"ZRUNNER\" --common \"-a getVersion --project ZRUNNER --version \"\"@version@\"\"\" --continue",
|
641
|
+
"--action runFromWorkflowList --regex \"((jira)|(Agile Simplified))\" --limit 2 --file \"-\"",
|
642
|
+
"--action runFromWorkflowSchemeList --regex \".*Simplified.*\" --limit 2 --file \"-\"",
|
643
|
+
"--action runFromWorkflowSchemeList --regex \"ZCLICLONE.*\" --common \"--action deleteWorkflowScheme --id @schemeId@\" --continue",
|
644
|
+
"--action setFieldValue --issue \"ZCUSTOM-1\" --field \"custom-cascade-select\" --values \"1 - A\"",
|
645
|
+
"--action setFieldValue --issue \"ZCUSTOM-1\" --field \"custom-cascade-select\" --values \"2,B\" --asCascadeSelect",
|
646
|
+
"--action setFieldValue --issue \"ZCUSTOM-4\" --field \"custom-multi-select\" --values \"s1,s2,s3\"",
|
647
|
+
"--action setFieldValue --issue \"ZCUSTOM-7\" --field \"Story Points\" --value \"\"",
|
648
|
+
"--action setFieldValue --issue \"ZFIELDS-1\" --field \"custom1\" --values \"The following should be on a new line: \\n XXX\"",
|
649
|
+
"--action setFieldValue --issue \"ZFIELDS-1\" --field \"custom1\" --values \"'xxx,yyy'\"",
|
650
|
+
"--action setFieldValue --issue \"ZFIELDS-1\" --field \"custom1\" --values \"xxx,yyy\"",
|
651
|
+
"--action setFieldValue --issue \"ZFIELDS-1\" --field \"custom1\" --value \"The following should be on a new line: \\n XXX\"",
|
652
|
+
"--action setFieldValue --issue \"ZFIELDS-1\" --field \"custom1\" --value \"xxx,yyy\"",
|
653
|
+
"--action setFieldValue --issue \"ZFIELDS-1\" --field \"custom-datetime\" --value \"21/10/1940 11:39:12\" --dateFormat \"dd/MM/yyyy HH:mm:ss\"",
|
654
|
+
"--action setFieldValue --issue \"ZFIELDS-1\" --field \"environment\" --values \"\" --field2 \"custom1\" --values2 \"xxx\"",
|
655
|
+
"--action setFieldValue --issue \"ZFIELDS-1\" --file \"src/itest/resources/data.txt\" --field \"environment\" --appendText",
|
656
|
+
"--action setFieldValue --issue \"ZFIELDS-2\" --field \"custom1\" --values \"append text\" --appendText",
|
657
|
+
"--action setFieldValue --issue \"ZFIELDS-2\" --field \"custom-group-picker\" --values \"jira-users\"",
|
658
|
+
"--action setFieldValue --issue \"ZFIELDS-2\" --field \"custom-multi-group-picker\" --values \"jira-users,jira-administrators\"",
|
659
|
+
"--action setFieldValue --issue \"ZFIELDS-2\" --field \"custom-multi-select\" --values \"s1,s2\"",
|
660
|
+
"--action setFieldValue --issue \"ZFIELDS-2\" --field \"custom-multi-select\" --values \"s3\" --append",
|
661
|
+
"--action setFieldValue --issue \"ZFIELDS-2\" --field \"custom-multi-user-picker\" --values \"automation\"",
|
662
|
+
"--action setFieldValue --issue \"ZFIELDS-2\" --field \"custom-user-picker\" --values \"automation\"",
|
663
|
+
"--action setFieldValue --issue \"ZFIELDS-2\" --file \"src/itest/resources/data.txt\" --field \"custom1\"",
|
664
|
+
"--action setFieldValue --issue \"ZFIELDS-3\" --field \"description\" --verbose --value \"aaa\n bbb\"",
|
665
|
+
"--action setFieldValue --issue \"ZFIELDS-3\" --field \"priority\" --verbose --value \"blocker\"",
|
666
|
+
"--action setFieldValue --issue \"ZFIELDS-3\" --field \"reporter\" --verbose --value \"automation\"",
|
667
|
+
"--action setFieldValue --issue \"ZFIELDS-3\" --field \"summary\" --verbose --value \"xxx\"",
|
668
|
+
"--action setFieldValue --issue \"ZFIELDS-3\" --field \"type\" --verbose --value \"sub-task2\"",
|
669
|
+
"--action setFieldValue --issue \"ZHISTORY-1\" --field \"custom-multi-select\" --values \"s1,s2\"",
|
670
|
+
"--action setFieldValue --issue \"ZJIRACLI-3\" --field \"custom-labels\" --values \"aaa,bbb\"",
|
671
|
+
"--action setFieldValue --issue \"ZJIRACLI-3\" --field \"custom-labels\" --values \"aaa, ccc\" --subtract",
|
672
|
+
"--action setFieldValue --issue \"ZJIRACLI-3\" --field \"custom-labels\" --values \"bbb\" --subtract",
|
673
|
+
"--action setFieldValue --issue \"ZJIRACLI-3\" --field \"custom-labels\" --values \"ccc\" --append",
|
674
|
+
"--action setFieldValue --issue \"ZJIRACLI-5\" --field \"custom-versions\" --values \"autoAppend\" --asVersion --append --autoVersion",
|
675
|
+
"--action setFieldValue --issue \"ZJIRACLI-5\" --field \"custom-versions\" --values \"V1, V2\" --asVersion",
|
676
|
+
"--action setFieldValue --issue \"ZJIRACLI-5\" --field \"custom-versions\" --values \"V1, V2\" --asVersion --append",
|
677
|
+
"--action setFieldValue --issue \"ZSUB-1\" --field \"custom-versions\" --value \"%original_fixVersions%\" --field2 \"description\" --values2 \"%original_description% - %original_fixVersions%\"",
|
678
|
+
"--action setShareScope --value \"global\"",
|
679
|
+
"--action transitionIssue --issue \"ZJIRACLI-3\" --transition \"5\" --resolution \"Fixed\" --fixVersions \"V1, V2\" --comment \"I fixed this. \\n It will be good now.\" --type \"Bug\" --continue --priority \"Major\" --reporter \"automation\" --affectsVersions \"\" --environment \"\" --components \"\"",
|
680
|
+
"--action transitionIssue --issue \"ZJIRACLI-3\" --transition \"Start Progress\"",
|
681
|
+
"--action transitionIssue --issue \"ZSUB-3\" --transition \"Resolve Issue\" --field \"testcase1\" --values \"subtasks: %parent_subtasks%\" --comment \"subtasks: %parent_subtasks%\"",
|
682
|
+
"--action unarchiveVersion --project \"zjiracli\" --name \"V1\"",
|
683
|
+
"--action unreleaseVersion --project \"zjiracli\" --name \"V1\" --date \"2015.12.31\" --dateFormat \"yyyy.MM.dd\" --description \"V1 description\"",
|
684
|
+
"--action updateComponent --project \"zjiracli\" --component \"C3First\" --name \"C3\" --description \"a generic description\" --lead \"automation\" --defaultAssignee \"project_lead\"",
|
685
|
+
"--action updateComponent --project \"ZSUB\" --component \"C1\" --description \"C1 description\"",
|
686
|
+
"--action updateComponent --project \"ZSUB\" --component \"C2\" --description \"C2 description\"",
|
687
|
+
"--action updateFilter --id \"24903\" --jql \"project = ZFILTER AND resolution is EMPTY\" --favorite",
|
688
|
+
"--action updateIssue --issue \"249564\" --fixVersions \"auto2\" --autoVersion --append",
|
689
|
+
"--action updateIssue --issue \"ZCUSTOM-1\" --field \"custom-cascade-select\" --values \"1,A\" --asCascadeSelect",
|
690
|
+
"--action updateIssue --issue \"ZCUSTOM-4\" --field \"custom-multi-select\" --values \"s1,s2,s3\"",
|
691
|
+
"--action updateIssue --issue \"ZFIELDS-1\" --description \"append text\" --appendText",
|
692
|
+
"--action updateIssue --issue \"ZHISTORY-1\" --summary \"Updated summary\" --description \"Updated description\" --field \"custom1\" --values \"updated value\"",
|
693
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --affectsVersions \"swap1\" --fixVersions \"swap2\" --autoVersion",
|
694
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --components \"auto1\" --autoComponent",
|
695
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --components \"auto2\" --autoComponent --append",
|
696
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --components \"swap1\" --autoComponent",
|
697
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --custom \"custom1:zzz\"",
|
698
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --custom \"{\\\"custom1\\\":\\\"zzz\\\"}\"",
|
699
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --date \"27/Jan/10\" --dateFormat \"d/MMM/yy\"",
|
700
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --date \"\" --components \"\" --affectsVersions \"\"",
|
701
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --date \"\" --components \"\" --affectsVersions \"\" --fixVersions \"\"",
|
702
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --environment \"x12345\" --originalEstimate \"3h\" --comment \"Added on updateIssue\"",
|
703
|
+
"--action updateIssue --issue \"ZJIRACLI-3\" --fixVersions \"auto1\" --autoVersion",
|
704
|
+
"--action updateIssue --issue \"ZJIRACLI-5\" --custom \"custom-versions:,\" --component \"\"",
|
705
|
+
"--action updateIssue --issue \"ZJIRACLI-5\" --date \"\"",
|
706
|
+
"--action updateIssue --issue \"ZJIRACLI-5\" --date \"2015*01*02\" --dateFormat \"yyyy*MM*dd\"",
|
707
|
+
"--action updateIssue --issue \"ZJIRACLI-5\" --field \"custom1\" --values \"xxxx\"",
|
708
|
+
"--action updateIssue --issue \"ZJIRACLI-5\" --field \"custom2\" --values \"\"",
|
709
|
+
"--action updateIssue --issue \"ZJIRACLI-8\" --labels \"label2 label3 label2 label3\" --description \"labels added\"",
|
710
|
+
"--action updateIssue --issue \"ZJIRACLIB-2\" --security \"\"",
|
711
|
+
"--action updateIssue --issue \"ZJIRACLIB-2\" --security \"developer-role\"",
|
712
|
+
"--action updateIssue --issue \"ZSUB-1\" --environment \"%original_description%\"",
|
713
|
+
"--action updateIssue --issue \"ZUSER-1\" --reporter \"automation\"",
|
714
|
+
"--action updateIssue --issue \"ZUSER-1\" --reporter \"testuser2\" --lookup",
|
715
|
+
"--action updateIssue --issue \"ZWORK-2\" --estimate \"2w 1d\"",
|
716
|
+
"--action updateIssue --issue \"ZWORK-2\" --estimate \"3w 1d\" --summary \"Updated\"",
|
717
|
+
"--action updateIssue --issue \"ZWORK-2\" --originalEstimate \"4w 2d\"",
|
718
|
+
"--action updateProject --project \"zjiracliC\" --issueSecurityScheme \"test restrictions\" --notificationScheme \"test\" --permissionScheme \"Restrict create issue\"",
|
719
|
+
"--action updateProject --project \"zjiracli\" --issueTypeScheme \"10000\"",
|
720
|
+
"--action updateProject --project \"zjiracli\" --issueTypeScheme \"Default Issue Type Scheme\"",
|
721
|
+
"--action updateProject --project \"zjiracli\" --issueTypeScheme \"zclone\"",
|
722
|
+
"--action updateProject --project \"zjiracli\" --issueTypeScreenScheme \"1\"",
|
723
|
+
"--action updateProject --project \"zjiracli\" --issueTypeScreenScheme \"Copy of default\"",
|
724
|
+
"--action updateProject --project \"zjiracli\" --issueTypeScreenScheme \"Default Issue Type Screen Scheme\"",
|
725
|
+
"--action updateProject --project \"zjiracli\" --workflowScheme \"\" --issueTypeScheme \"\" --fieldConfigurationScheme \"\" --issueTypeScreenScheme \"\"",
|
726
|
+
"--action updateProject --project \"zjiracliX\" --defaultAssignee \"project_lead\"",
|
727
|
+
"--action updateProject --project \"zjiracliX\" --defaultAssignee \"unassigned\"",
|
728
|
+
"--action updateProject --project \"zjiracliX\" --description \"Updated description again\"",
|
729
|
+
"--action updateProject --project \"zjiracliX\" --description \"Updated description\" --issueSecurityScheme \"test restrictions\" --fieldConfigurationScheme \"Description required\" --notificationScheme \"test\" --verbose",
|
730
|
+
"--action updateProject --project \"ZPROJECT\" --category \"\"",
|
731
|
+
"--action updateProject --project \"ZPROJECT\" --category \"another\"",
|
732
|
+
"--action updateProject --project \"ZPROJECT\" --notificationScheme \"\"",
|
733
|
+
"--action updateProject --project \"ZPROJECT\" --notificationScheme 10000",
|
734
|
+
"--action updateProject --project \"ZPROJECT\" --url \"https://bobswift-test.atlassian.net\"",
|
735
|
+
"--action updateProjectRole --role \"zAdd project role test\" --name \"zAdd project role test updated\"",
|
736
|
+
"--action updateUserProperty --userId \"testuser1\" --name \"a b\" --value \" xxxx\"",
|
737
|
+
"--action updateUserProperty --userId \"testuser1\" --name \"testProperty\" --value \"test property value\"",
|
738
|
+
"--action updateVersion --project \"zjiracliC\" --version \"V2\" --description \"NEW description\" --startDate \"2015-01-01\" --date \"2015-02-01\" --dateFormat \"yyyy-MM-dd\"",
|
739
|
+
"--action updateVersion --project \"zjiracli\" --version \"auto1\" --after \"-1\"",
|
740
|
+
"--action updateVersion --project \"zjiracli\" --version \"auto1\" --after \"auto2\"",
|
741
|
+
"--action updateVersion --project \"zjiracli\" --version \"auto2\" --after \"\"",
|
742
|
+
"--action updateVersion --project \"zjiracli\" --version \"auto2\" --date \"\" --dateFormat \"yyyy/MM/dd\"",
|
743
|
+
"--action updateVersion --project \"zjiracli\" --version \"auto2\" --description \"updateVersion description\" --startDate \"2014/09/30\" --date \"2015/01/02/\" --dateFormat \"yyyy/MM/dd\"",
|
744
|
+
"--action updateVersion --project \"zjiracli\" --version \"V1\" --description \"V1 description\"",
|
745
|
+
"--action updateWork --issue \"ZWORK-1\" --id \"32811\" --comment \"Updated work log entry\"",
|
746
|
+
"--action updateWork --issue \"ZWORK-1\" --id \"32811\" --timeSpent \"1w\" --autoAdjust",
|
747
|
+
"--action updateWork --issue \"ZWORK-1\" --id \"32811\" --userId \"developer\"",
|
748
|
+
"--action validateLicense"
|
749
|
+
]
|
750
|
+
|
751
|
+
gem_examples = []
|
752
|
+
EXAMPLES.each do |example|
|
753
|
+
puts example
|
754
|
+
split_example = example.gsub(/"([^"]*)"/) do |match|
|
755
|
+
match.gsub(' ', '_SPACE_').gsub("\n", '_NEWLINE_')
|
756
|
+
end.split(' ')
|
757
|
+
|
758
|
+
rb_example = {}
|
759
|
+
split_example.each_with_index do |substr, idx|
|
760
|
+
if substr.starts_with?('--')
|
761
|
+
sym = substr[2..-1].underscore.to_sym
|
762
|
+
|
763
|
+
val = if idx == split_example.length-1 || split_example[idx+1].starts_with?('--')
|
764
|
+
true
|
765
|
+
elsif sym == :action
|
766
|
+
split_example[idx+1].underscore.to_sym
|
767
|
+
else
|
768
|
+
str = split_example[idx+1].gsub('_SPACE_', ' ').gsub('_NEWLINE_', "\n")
|
769
|
+
str = str[1..-1] if str.starts_with?('"')
|
770
|
+
str = str[0..-2] if str.ends_with?('"')
|
771
|
+
str
|
772
|
+
end
|
773
|
+
rb_example[sym] = val
|
774
|
+
end
|
775
|
+
end
|
776
|
+
gem_examples << {cli_example: example, gem_example: rb_example}
|
777
|
+
end
|
778
|
+
|
779
|
+
File.open('examples.yml', 'w') {|f| f.write gem_examples.to_yaml }
|
780
|
+
ap gem_examples
|