tomdz-jira4r 0.5.0.20120202102048
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.gitignore +22 -0
- data/LICENSE +20 -0
- data/README.rdoc +23 -0
- data/Rakefile +42 -0
- data/VERSION +1 -0
- data/jira4r.gemspec +48 -0
- data/lib/jira4r.rb +8 -0
- data/lib/jira4r/jira_tool.rb +234 -0
- data/lib/jira4r/server.rb +10 -0
- data/lib/jira4r/v2/jira_service.rb +882 -0
- data/lib/jira4r/v2/jira_service_mapping_registry.rb +1058 -0
- data/lib/jira4r/v2/jira_soap_service_driver.rb +1141 -0
- data/test/helper.rb +9 -0
- data/test/test_jira4r.rb +9 -0
- data/wsdl/jirasoapservice-v2.wsdl +8535 -0
- metadata +99 -0
data/.document
ADDED
data/.gitignore
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 James Stuart
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
= jira4r
|
2
|
+
|
3
|
+
This is a fork of the https://github.com/tritonrc/jira4r jira4r fork that differs from it in two important points:
|
4
|
+
|
5
|
+
* It has a gem available on http://rubygems.org.
|
6
|
+
* It uses tomdz-soap4r which also has a gem available on http://rubygems.org and relaxes the version constraint on its httpclient dependency.
|
7
|
+
|
8
|
+
Original readme below:
|
9
|
+
|
10
|
+
== Note on Patches/Pull Requests
|
11
|
+
|
12
|
+
* Fork the project.
|
13
|
+
* Make your feature addition or bug fix.
|
14
|
+
* Add tests for it. This is important so I don't break it in a
|
15
|
+
future version unintentionally.
|
16
|
+
* Commit, do not mess with rakefile, version, or history.
|
17
|
+
(if you want to have your own version, that is fine but
|
18
|
+
bump version in a commit by itself I can ignore when I pull)
|
19
|
+
* Send me a pull request. Bonus points for topic branches.
|
20
|
+
|
21
|
+
== Copyright
|
22
|
+
|
23
|
+
Copyright (c) 2009 James Stuart. See LICENSE for details.
|
data/Rakefile
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
Bundler.setup
|
3
|
+
|
4
|
+
require 'rake'
|
5
|
+
require 'rake/testtask'
|
6
|
+
require 'rake/rdoctask'
|
7
|
+
|
8
|
+
task :gem => :build
|
9
|
+
task :build do
|
10
|
+
system 'gem build jira4r.gemspec'
|
11
|
+
end
|
12
|
+
|
13
|
+
Rake::TestTask.new(:test) do |test|
|
14
|
+
test.libs << 'lib' << 'test'
|
15
|
+
test.pattern = 'test/**/test_*.rb'
|
16
|
+
test.verbose = true
|
17
|
+
end
|
18
|
+
|
19
|
+
begin
|
20
|
+
require 'rcov/rcovtask'
|
21
|
+
Rcov::RcovTask.new do |test|
|
22
|
+
test.libs << 'test'
|
23
|
+
test.pattern = 'test/**/test_*.rb'
|
24
|
+
test.verbose = true
|
25
|
+
end
|
26
|
+
rescue LoadError
|
27
|
+
task :rcov do
|
28
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
require 'rake/rdoctask'
|
33
|
+
Rake::RDocTask.new do |rdoc|
|
34
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
35
|
+
|
36
|
+
rdoc.rdoc_dir = 'rdoc'
|
37
|
+
rdoc.title = "jira4r #{version}"
|
38
|
+
rdoc.rdoc_files.include('README*')
|
39
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
40
|
+
end
|
41
|
+
|
42
|
+
task :default => :test
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.4.1
|
data/jira4r.gemspec
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = %q{tomdz-jira4r}
|
3
|
+
s.version = "0.5.0.#{Time.now.strftime('%Y%m%d%H%M%S')}"
|
4
|
+
s.platform = Gem::Platform::RUBY
|
5
|
+
s.authors = ["James Stuart", "Andrew Erickson", "Andrew Cantino", "Ryan Sonnek", "Brian McKinney"]
|
6
|
+
s.email = %q{tomdzk@gmail.com, tritonrc@gmail.com}
|
7
|
+
s.homepage = %q{https://github.com/tomdz/jira4r}
|
8
|
+
s.date = %q{2011-04-04}
|
9
|
+
s.description = %q{JIRA Soap Interface Gem}
|
10
|
+
s.summary = %q{JIRA4R is a convenient to access and maninpulate JIRA from Ruby}
|
11
|
+
|
12
|
+
s.required_rubygems_version = '>= 1.3.6'
|
13
|
+
|
14
|
+
s.extra_rdoc_files = [
|
15
|
+
"LICENSE",
|
16
|
+
"README.rdoc"
|
17
|
+
]
|
18
|
+
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"jira4r.gemspec",
|
27
|
+
"lib/jira4r.rb",
|
28
|
+
"lib/jira4r/jira_tool.rb",
|
29
|
+
"lib/jira4r/server.rb",
|
30
|
+
"lib/jira4r/v2/jira_service.rb",
|
31
|
+
"lib/jira4r/v2/jira_service_mapping_registry.rb",
|
32
|
+
"lib/jira4r/v2/jira_soap_service_driver.rb",
|
33
|
+
"test/helper.rb",
|
34
|
+
"test/test_jira4r.rb",
|
35
|
+
"wsdl/jirasoapservice-v2.wsdl"
|
36
|
+
]
|
37
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
38
|
+
s.require_paths = ["lib"]
|
39
|
+
s.summary = %q{JIRA Soap Interface Gem}
|
40
|
+
s.test_files = [
|
41
|
+
"test/helper.rb",
|
42
|
+
"test/test_jira4r.rb"
|
43
|
+
]
|
44
|
+
|
45
|
+
s.add_dependency(%q<tomdz-soap4r>, [">= 1.5.8"])
|
46
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
47
|
+
end
|
48
|
+
|
data/lib/jira4r.rb
ADDED
@@ -0,0 +1,234 @@
|
|
1
|
+
################################################################################
|
2
|
+
# Copyright 2006-2009 Codehaus Foundation
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
################################################################################
|
16
|
+
require 'logger'
|
17
|
+
|
18
|
+
#It is the responsibility of the caller to ensure SOAP4R is installed and working correctly
|
19
|
+
#require 'rubygems'
|
20
|
+
#gem 'soap4r'
|
21
|
+
|
22
|
+
module Jira4R
|
23
|
+
|
24
|
+
class JiraTool
|
25
|
+
attr_accessor :enhanced
|
26
|
+
|
27
|
+
# Create a new JiraTool
|
28
|
+
#
|
29
|
+
# where:
|
30
|
+
# version ... the version of the SOAP API you wish to use - currently supported versions [ 2 ]
|
31
|
+
# base_url ... the base URL of the JIRA instance - eg. http://confluence.atlassian.com
|
32
|
+
def initialize(version, base_url)
|
33
|
+
@version = version
|
34
|
+
@base_url = base_url
|
35
|
+
@logger = Logger.new(STDERR)
|
36
|
+
@endpoint_url = "#{@base_url}/rpc/soap/jirasoapservice-v#{version}"
|
37
|
+
end
|
38
|
+
|
39
|
+
#Assign a new logger to the tool. By default a STDERR logger is used.
|
40
|
+
def logger=(logger)
|
41
|
+
@logger = logger
|
42
|
+
end
|
43
|
+
|
44
|
+
def http_auth(http_username, http_password, http_realm)
|
45
|
+
@http_username = http_username
|
46
|
+
@http_password = http_password
|
47
|
+
@http_realm = http_realm
|
48
|
+
end
|
49
|
+
|
50
|
+
#Retrieve the driver, creating as required.
|
51
|
+
def driver()
|
52
|
+
if not @driver
|
53
|
+
@logger.info("Connecting driver to #{@endpoint_url}")
|
54
|
+
|
55
|
+
service_classname = "Jira4R::V#{@version}::JiraSoapService"
|
56
|
+
@logger.debug("Service: #{service_classname}")
|
57
|
+
service = eval(service_classname)
|
58
|
+
@driver = service.send(:new, @endpoint_url)
|
59
|
+
|
60
|
+
if not ( @http_realm.nil? or @http_username.nil? or @http_password.nil? )
|
61
|
+
@driver.options["protocol.http.basic_auth"] << [ @http_realm, @http_username, @http_password ]
|
62
|
+
end
|
63
|
+
end
|
64
|
+
@driver
|
65
|
+
end
|
66
|
+
|
67
|
+
#Assign a wiredump file prefix to the driver.
|
68
|
+
def wiredump_file_base=(base)
|
69
|
+
driver().wiredump_file_base = base
|
70
|
+
end
|
71
|
+
|
72
|
+
|
73
|
+
#Login to the JIRA instance, storing the token for later calls.
|
74
|
+
#
|
75
|
+
#This is typically the first call that is made on the JiraTool.
|
76
|
+
def login(username, password)
|
77
|
+
@token = driver().login(username, password)
|
78
|
+
end
|
79
|
+
|
80
|
+
#Clients should avoid using the authentication token directly.
|
81
|
+
def token()
|
82
|
+
@token
|
83
|
+
end
|
84
|
+
|
85
|
+
#Call a method on the driver, adding in the authentication token previously determined using login()
|
86
|
+
def call_driver(method_name, *args)
|
87
|
+
@logger.debug("Finding method #{method_name}")
|
88
|
+
method = driver().method(method_name)
|
89
|
+
|
90
|
+
if args.length > 0
|
91
|
+
method.call(@token, *args)
|
92
|
+
else
|
93
|
+
method.call(@token)
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
#Retrieve a project without the associated PermissionScheme.
|
98
|
+
#This will be significantly faster for larger Jira installations.
|
99
|
+
#See: JRA-10660
|
100
|
+
def getProjectNoScheme(key)
|
101
|
+
@logger.warn("getProjectNoScheme is deprecated. Please call getProjectNoSchemes.")
|
102
|
+
getProjectNoSchemes(key)
|
103
|
+
end
|
104
|
+
|
105
|
+
def getProjectNoSchemes(key)
|
106
|
+
self.getProjectsNoSchemes().find { |project| project.key == key }
|
107
|
+
end
|
108
|
+
|
109
|
+
def getProject(key)
|
110
|
+
#Jira > 3.10 has been patched to support this method directly as getProjectByKey
|
111
|
+
@logger.warn("Using deprecated JIRA4R API call getProject(key); replace with getProjectByKey(key)")
|
112
|
+
return getProjectByKey(key)
|
113
|
+
end
|
114
|
+
|
115
|
+
def getProjectByKey( projectKey )
|
116
|
+
begin
|
117
|
+
return call_driver( "getProjectByKey", projectKey )
|
118
|
+
rescue SOAP::FaultError => soap_error
|
119
|
+
#XXX surely there is a better way to detect this kind of condition in the JIRA server
|
120
|
+
if soap_error.faultcode.to_s == "soapenv:Server.userException" and soap_error.faultstring.to_s == "com.atlassian.jira.rpc.exception.RemoteException: Project: #{projectKey} does not exist"
|
121
|
+
return nil
|
122
|
+
else
|
123
|
+
raise soap_error
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
def getGroup( groupName )
|
129
|
+
begin
|
130
|
+
return call_driver( "getGroup", groupName )
|
131
|
+
rescue SOAP::FaultError => soap_error
|
132
|
+
#XXX surely there is a better way to detect this kind of condition in the JIRA server
|
133
|
+
if soap_error.faultcode.to_s == "soapenv:Server.userException" and soap_error.faultstring.to_s == "com.atlassian.jira.rpc.exception.RemoteValidationException: no group found for that groupName: #{groupName}"
|
134
|
+
return nil
|
135
|
+
else
|
136
|
+
raise soap_error
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
def getProjectRoleByName( projectRoleName )
|
142
|
+
getProjectRoles.each{ |projectRole|
|
143
|
+
return projectRole if projectRole.name == projectRoleName
|
144
|
+
}
|
145
|
+
end
|
146
|
+
|
147
|
+
def getPermissionScheme( permissionSchemeName )
|
148
|
+
self.getPermissionSchemes().each { |permission_scheme|
|
149
|
+
return permission_scheme if permission_scheme.name == permissionSchemeName
|
150
|
+
}
|
151
|
+
return nil
|
152
|
+
end
|
153
|
+
|
154
|
+
def getNotificationScheme( notificationSchemeName )
|
155
|
+
self.getNotificationSchemes().each { |notification_scheme|
|
156
|
+
return notification_scheme if notification_scheme.name == notificationSchemeName
|
157
|
+
}
|
158
|
+
return nil
|
159
|
+
end
|
160
|
+
|
161
|
+
def getPermission( permissionName )
|
162
|
+
if not @permissions
|
163
|
+
@permissions = self.getAllPermissions()
|
164
|
+
end
|
165
|
+
|
166
|
+
@permissions.each { |permission|
|
167
|
+
return permission if permission.name.downcase == permissionName.downcase
|
168
|
+
}
|
169
|
+
|
170
|
+
@logger.warn("No permission #{permissionName} found")
|
171
|
+
return nil
|
172
|
+
end
|
173
|
+
|
174
|
+
def findPermission(allowedPermissions, permissionName)
|
175
|
+
allowedPermissions.each { |allowedPermission|
|
176
|
+
#@logger.debug("Checking #{allowedPermission.name} against #{permissionName} ")
|
177
|
+
return allowedPermission if allowedPermission.name == permissionName
|
178
|
+
}
|
179
|
+
return nil
|
180
|
+
end
|
181
|
+
|
182
|
+
def findEntityInPermissionMapping(permissionMapping, entityName)
|
183
|
+
permissionMapping.remoteEntities.each { |entity|
|
184
|
+
return entity if entity.name == entityName
|
185
|
+
}
|
186
|
+
return nil
|
187
|
+
end
|
188
|
+
|
189
|
+
#Removes entity
|
190
|
+
def setPermissions( permissionScheme, allowedPermissions, entity)
|
191
|
+
allowedPermissions = [ allowedPermissions ].flatten.compact
|
192
|
+
#Remove permissions that are no longer allowed
|
193
|
+
permissionScheme.permissionMappings.each { |mapping|
|
194
|
+
next unless findEntityInPermissionMapping(mapping, entity.name)
|
195
|
+
|
196
|
+
allowedPermission = findPermission(allowedPermissions, mapping.permission.name)
|
197
|
+
if allowedPermission
|
198
|
+
@logger.debug("Already has #{allowedPermission.name} in #{permissionScheme.name} for #{entity.name}")
|
199
|
+
allowedPermissions.delete(allowedPermission)
|
200
|
+
next
|
201
|
+
end
|
202
|
+
|
203
|
+
@logger.debug("Deleting #{mapping.permission.name} from #{permissionScheme.name} for #{entity.name}")
|
204
|
+
deletePermissionFrom( permissionScheme, mapping.permission, entity)
|
205
|
+
}
|
206
|
+
|
207
|
+
@logger.debug(allowedPermissions.inspect)
|
208
|
+
allowedPermissions.each { |allowedPermission|
|
209
|
+
@logger.debug("Granting #{allowedPermission.name} to #{permissionScheme.name} for #{entity.name}")
|
210
|
+
addPermissionTo(permissionScheme, allowedPermission, entity)
|
211
|
+
}
|
212
|
+
end
|
213
|
+
|
214
|
+
private
|
215
|
+
def fix_args(args)
|
216
|
+
args.collect { |arg|
|
217
|
+
if arg == nil
|
218
|
+
SOAP::SOAPNil.new
|
219
|
+
else
|
220
|
+
arg
|
221
|
+
end
|
222
|
+
}
|
223
|
+
end
|
224
|
+
|
225
|
+
def method_missing(method_name, *args)
|
226
|
+
args = fix_args(args)
|
227
|
+
call_driver(method_name, *args)
|
228
|
+
end
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
end
|
233
|
+
|
234
|
+
end
|
@@ -0,0 +1,882 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module Jira4R; module V2
|
4
|
+
|
5
|
+
|
6
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteComment
|
7
|
+
# author - SOAP::SOAPString
|
8
|
+
# body - SOAP::SOAPString
|
9
|
+
# created - SOAP::SOAPDateTime
|
10
|
+
# groupLevel - SOAP::SOAPString
|
11
|
+
# id - SOAP::SOAPString
|
12
|
+
# roleLevel - SOAP::SOAPString
|
13
|
+
# updateAuthor - SOAP::SOAPString
|
14
|
+
# updated - SOAP::SOAPDateTime
|
15
|
+
class RemoteComment
|
16
|
+
attr_accessor :author
|
17
|
+
attr_accessor :body
|
18
|
+
attr_accessor :created
|
19
|
+
attr_accessor :groupLevel
|
20
|
+
attr_accessor :id
|
21
|
+
attr_accessor :roleLevel
|
22
|
+
attr_accessor :updateAuthor
|
23
|
+
attr_accessor :updated
|
24
|
+
|
25
|
+
def initialize(author = nil, body = nil, created = nil, groupLevel = nil, id = nil, roleLevel = nil, updateAuthor = nil, updated = nil)
|
26
|
+
@author = author
|
27
|
+
@body = body
|
28
|
+
@created = created
|
29
|
+
@groupLevel = groupLevel
|
30
|
+
@id = id
|
31
|
+
@roleLevel = roleLevel
|
32
|
+
@updateAuthor = updateAuthor
|
33
|
+
@updated = updated
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteTimeInfo
|
38
|
+
# serverTime - SOAP::SOAPString
|
39
|
+
# timeZoneId - SOAP::SOAPString
|
40
|
+
class RemoteTimeInfo
|
41
|
+
attr_accessor :serverTime
|
42
|
+
attr_accessor :timeZoneId
|
43
|
+
|
44
|
+
def initialize(serverTime = nil, timeZoneId = nil)
|
45
|
+
@serverTime = serverTime
|
46
|
+
@timeZoneId = timeZoneId
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteServerInfo
|
51
|
+
# baseUrl - SOAP::SOAPString
|
52
|
+
# buildDate - SOAP::SOAPDateTime
|
53
|
+
# buildNumber - SOAP::SOAPString
|
54
|
+
# edition - SOAP::SOAPString
|
55
|
+
# serverTime - Jira4R::V2::RemoteTimeInfo
|
56
|
+
# version - SOAP::SOAPString
|
57
|
+
class RemoteServerInfo
|
58
|
+
attr_accessor :baseUrl
|
59
|
+
attr_accessor :buildDate
|
60
|
+
attr_accessor :buildNumber
|
61
|
+
attr_accessor :edition
|
62
|
+
attr_accessor :serverTime
|
63
|
+
attr_accessor :version
|
64
|
+
|
65
|
+
def initialize(baseUrl = nil, buildDate = nil, buildNumber = nil, edition = nil, serverTime = nil, version = nil)
|
66
|
+
@baseUrl = baseUrl
|
67
|
+
@buildDate = buildDate
|
68
|
+
@buildNumber = buildNumber
|
69
|
+
@edition = edition
|
70
|
+
@serverTime = serverTime
|
71
|
+
@version = version
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteEntity
|
76
|
+
class RemoteEntity
|
77
|
+
def initialize
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteUser
|
82
|
+
# email - SOAP::SOAPString
|
83
|
+
# fullname - SOAP::SOAPString
|
84
|
+
# name - SOAP::SOAPString
|
85
|
+
class RemoteUser < RemoteEntity
|
86
|
+
attr_accessor :email
|
87
|
+
attr_accessor :fullname
|
88
|
+
attr_accessor :name
|
89
|
+
|
90
|
+
def initialize(email = nil, fullname = nil, name = nil)
|
91
|
+
@email = email
|
92
|
+
@fullname = fullname
|
93
|
+
@name = name
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteGroup
|
98
|
+
# name - SOAP::SOAPString
|
99
|
+
# users - Jira4R::V2::ArrayOf_tns1_RemoteUser
|
100
|
+
class RemoteGroup < RemoteEntity
|
101
|
+
attr_accessor :name
|
102
|
+
attr_accessor :users
|
103
|
+
|
104
|
+
def initialize(name = nil, users = nil)
|
105
|
+
@name = name
|
106
|
+
@users = users
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# {http://beans.soap.rpc.jira.atlassian.com}AbstractRemoteEntity
|
111
|
+
# abstract
|
112
|
+
# id - SOAP::SOAPString
|
113
|
+
class AbstractRemoteEntity
|
114
|
+
attr_accessor :id
|
115
|
+
|
116
|
+
def initialize(id = nil)
|
117
|
+
@id = id
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
# {http://beans.soap.rpc.jira.atlassian.com}AbstractNamedRemoteEntity
|
122
|
+
# abstract
|
123
|
+
# id - SOAP::SOAPString
|
124
|
+
# name - SOAP::SOAPString
|
125
|
+
class AbstractNamedRemoteEntity < AbstractRemoteEntity
|
126
|
+
attr_accessor :id
|
127
|
+
attr_accessor :name
|
128
|
+
|
129
|
+
def initialize(id = nil, name = nil)
|
130
|
+
@id = id
|
131
|
+
@name = name
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteVersion
|
136
|
+
# id - SOAP::SOAPString
|
137
|
+
# name - SOAP::SOAPString
|
138
|
+
# archived - SOAP::SOAPBoolean
|
139
|
+
# releaseDate - SOAP::SOAPDateTime
|
140
|
+
# released - SOAP::SOAPBoolean
|
141
|
+
# sequence - SOAP::SOAPLong
|
142
|
+
class RemoteVersion < AbstractNamedRemoteEntity
|
143
|
+
attr_accessor :id
|
144
|
+
attr_accessor :name
|
145
|
+
attr_accessor :archived
|
146
|
+
attr_accessor :releaseDate
|
147
|
+
attr_accessor :released
|
148
|
+
attr_accessor :sequence
|
149
|
+
|
150
|
+
def initialize(id = nil, name = nil, archived = nil, releaseDate = nil, released = nil, sequence = nil)
|
151
|
+
@id = id
|
152
|
+
@name = name
|
153
|
+
@archived = archived
|
154
|
+
@releaseDate = releaseDate
|
155
|
+
@released = released
|
156
|
+
@sequence = sequence
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteComponent
|
161
|
+
# id - SOAP::SOAPString
|
162
|
+
# name - SOAP::SOAPString
|
163
|
+
class RemoteComponent < AbstractNamedRemoteEntity
|
164
|
+
attr_accessor :id
|
165
|
+
attr_accessor :name
|
166
|
+
|
167
|
+
def initialize(id = nil, name = nil)
|
168
|
+
@id = id
|
169
|
+
@name = name
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteNamedObject
|
174
|
+
# id - SOAP::SOAPString
|
175
|
+
# name - SOAP::SOAPString
|
176
|
+
class RemoteNamedObject < AbstractNamedRemoteEntity
|
177
|
+
attr_accessor :id
|
178
|
+
attr_accessor :name
|
179
|
+
|
180
|
+
def initialize(id = nil, name = nil)
|
181
|
+
@id = id
|
182
|
+
@name = name
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# {http://beans.soap.rpc.jira.atlassian.com}AbstractRemoteConstant
|
187
|
+
# abstract
|
188
|
+
# id - SOAP::SOAPString
|
189
|
+
# name - SOAP::SOAPString
|
190
|
+
# description - SOAP::SOAPString
|
191
|
+
# icon - SOAP::SOAPString
|
192
|
+
class AbstractRemoteConstant < AbstractNamedRemoteEntity
|
193
|
+
attr_accessor :id
|
194
|
+
attr_accessor :name
|
195
|
+
attr_accessor :description
|
196
|
+
attr_accessor :icon
|
197
|
+
|
198
|
+
def initialize(id = nil, name = nil, description = nil, icon = nil)
|
199
|
+
@id = id
|
200
|
+
@name = name
|
201
|
+
@description = description
|
202
|
+
@icon = icon
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteIssueType
|
207
|
+
# id - SOAP::SOAPString
|
208
|
+
# name - SOAP::SOAPString
|
209
|
+
# description - SOAP::SOAPString
|
210
|
+
# icon - SOAP::SOAPString
|
211
|
+
# subTask - SOAP::SOAPBoolean
|
212
|
+
class RemoteIssueType < AbstractRemoteConstant
|
213
|
+
attr_accessor :id
|
214
|
+
attr_accessor :name
|
215
|
+
attr_accessor :description
|
216
|
+
attr_accessor :icon
|
217
|
+
attr_accessor :subTask
|
218
|
+
|
219
|
+
def initialize(id = nil, name = nil, description = nil, icon = nil, subTask = nil)
|
220
|
+
@id = id
|
221
|
+
@name = name
|
222
|
+
@description = description
|
223
|
+
@icon = icon
|
224
|
+
@subTask = subTask
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemotePriority
|
229
|
+
# id - SOAP::SOAPString
|
230
|
+
# name - SOAP::SOAPString
|
231
|
+
# description - SOAP::SOAPString
|
232
|
+
# icon - SOAP::SOAPString
|
233
|
+
# color - SOAP::SOAPString
|
234
|
+
class RemotePriority < AbstractRemoteConstant
|
235
|
+
attr_accessor :id
|
236
|
+
attr_accessor :name
|
237
|
+
attr_accessor :description
|
238
|
+
attr_accessor :icon
|
239
|
+
attr_accessor :color
|
240
|
+
|
241
|
+
def initialize(id = nil, name = nil, description = nil, icon = nil, color = nil)
|
242
|
+
@id = id
|
243
|
+
@name = name
|
244
|
+
@description = description
|
245
|
+
@icon = icon
|
246
|
+
@color = color
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteResolution
|
251
|
+
# id - SOAP::SOAPString
|
252
|
+
# name - SOAP::SOAPString
|
253
|
+
# description - SOAP::SOAPString
|
254
|
+
# icon - SOAP::SOAPString
|
255
|
+
class RemoteResolution < AbstractRemoteConstant
|
256
|
+
attr_accessor :id
|
257
|
+
attr_accessor :name
|
258
|
+
attr_accessor :description
|
259
|
+
attr_accessor :icon
|
260
|
+
|
261
|
+
def initialize(id = nil, name = nil, description = nil, icon = nil)
|
262
|
+
@id = id
|
263
|
+
@name = name
|
264
|
+
@description = description
|
265
|
+
@icon = icon
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteStatus
|
270
|
+
# id - SOAP::SOAPString
|
271
|
+
# name - SOAP::SOAPString
|
272
|
+
# description - SOAP::SOAPString
|
273
|
+
# icon - SOAP::SOAPString
|
274
|
+
class RemoteStatus < AbstractRemoteConstant
|
275
|
+
attr_accessor :id
|
276
|
+
attr_accessor :name
|
277
|
+
attr_accessor :description
|
278
|
+
attr_accessor :icon
|
279
|
+
|
280
|
+
def initialize(id = nil, name = nil, description = nil, icon = nil)
|
281
|
+
@id = id
|
282
|
+
@name = name
|
283
|
+
@description = description
|
284
|
+
@icon = icon
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteProject
|
289
|
+
# id - SOAP::SOAPString
|
290
|
+
# name - SOAP::SOAPString
|
291
|
+
# description - SOAP::SOAPString
|
292
|
+
# issueSecurityScheme - Jira4R::V2::RemoteScheme
|
293
|
+
# key - SOAP::SOAPString
|
294
|
+
# lead - SOAP::SOAPString
|
295
|
+
# notificationScheme - Jira4R::V2::RemoteScheme
|
296
|
+
# permissionScheme - Jira4R::V2::RemotePermissionScheme
|
297
|
+
# projectUrl - SOAP::SOAPString
|
298
|
+
# url - SOAP::SOAPString
|
299
|
+
class RemoteProject < AbstractNamedRemoteEntity
|
300
|
+
attr_accessor :id
|
301
|
+
attr_accessor :name
|
302
|
+
attr_accessor :description
|
303
|
+
attr_accessor :issueSecurityScheme
|
304
|
+
attr_accessor :key
|
305
|
+
attr_accessor :lead
|
306
|
+
attr_accessor :notificationScheme
|
307
|
+
attr_accessor :permissionScheme
|
308
|
+
attr_accessor :projectUrl
|
309
|
+
attr_accessor :url
|
310
|
+
|
311
|
+
def initialize(id = nil, name = nil, description = nil, issueSecurityScheme = nil, key = nil, lead = nil, notificationScheme = nil, permissionScheme = nil, projectUrl = nil, url = nil)
|
312
|
+
@id = id
|
313
|
+
@name = name
|
314
|
+
@description = description
|
315
|
+
@issueSecurityScheme = issueSecurityScheme
|
316
|
+
@key = key
|
317
|
+
@lead = lead
|
318
|
+
@notificationScheme = notificationScheme
|
319
|
+
@permissionScheme = permissionScheme
|
320
|
+
@projectUrl = projectUrl
|
321
|
+
@url = url
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteField
|
326
|
+
# id - SOAP::SOAPString
|
327
|
+
# name - SOAP::SOAPString
|
328
|
+
class RemoteField < AbstractNamedRemoteEntity
|
329
|
+
attr_accessor :id
|
330
|
+
attr_accessor :name
|
331
|
+
|
332
|
+
def initialize(id = nil, name = nil)
|
333
|
+
@id = id
|
334
|
+
@name = name
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
338
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteFilter
|
339
|
+
# id - SOAP::SOAPString
|
340
|
+
# name - SOAP::SOAPString
|
341
|
+
# author - SOAP::SOAPString
|
342
|
+
# description - SOAP::SOAPString
|
343
|
+
# project - SOAP::SOAPString
|
344
|
+
# xml - SOAP::SOAPString
|
345
|
+
class RemoteFilter < AbstractNamedRemoteEntity
|
346
|
+
attr_accessor :id
|
347
|
+
attr_accessor :name
|
348
|
+
attr_accessor :author
|
349
|
+
attr_accessor :description
|
350
|
+
attr_accessor :project
|
351
|
+
attr_accessor :xml
|
352
|
+
|
353
|
+
def initialize(id = nil, name = nil, author = nil, description = nil, project = nil, xml = nil)
|
354
|
+
@id = id
|
355
|
+
@name = name
|
356
|
+
@author = author
|
357
|
+
@description = description
|
358
|
+
@project = project
|
359
|
+
@xml = xml
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteSecurityLevel
|
364
|
+
# id - SOAP::SOAPString
|
365
|
+
# name - SOAP::SOAPString
|
366
|
+
# description - SOAP::SOAPString
|
367
|
+
class RemoteSecurityLevel < AbstractNamedRemoteEntity
|
368
|
+
attr_accessor :id
|
369
|
+
attr_accessor :name
|
370
|
+
attr_accessor :description
|
371
|
+
|
372
|
+
def initialize(id = nil, name = nil, description = nil)
|
373
|
+
@id = id
|
374
|
+
@name = name
|
375
|
+
@description = description
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteIssue
|
380
|
+
# id - SOAP::SOAPString
|
381
|
+
# affectsVersions - Jira4R::V2::ArrayOf_tns1_RemoteVersion
|
382
|
+
# assignee - SOAP::SOAPString
|
383
|
+
# attachmentNames - Jira4R::V2::ArrayOf_xsd_string
|
384
|
+
# components - Jira4R::V2::ArrayOf_tns1_RemoteComponent
|
385
|
+
# created - SOAP::SOAPDateTime
|
386
|
+
# customFieldValues - Jira4R::V2::ArrayOf_tns1_RemoteCustomFieldValue
|
387
|
+
# description - SOAP::SOAPString
|
388
|
+
# duedate - SOAP::SOAPDateTime
|
389
|
+
# environment - SOAP::SOAPString
|
390
|
+
# fixVersions - Jira4R::V2::ArrayOf_tns1_RemoteVersion
|
391
|
+
# key - SOAP::SOAPString
|
392
|
+
# priority - SOAP::SOAPString
|
393
|
+
# project - SOAP::SOAPString
|
394
|
+
# reporter - SOAP::SOAPString
|
395
|
+
# resolution - SOAP::SOAPString
|
396
|
+
# status - SOAP::SOAPString
|
397
|
+
# summary - SOAP::SOAPString
|
398
|
+
# type - SOAP::SOAPString
|
399
|
+
# updated - SOAP::SOAPDateTime
|
400
|
+
# votes - SOAP::SOAPLong
|
401
|
+
class RemoteIssue < AbstractRemoteEntity
|
402
|
+
attr_accessor :id
|
403
|
+
attr_accessor :affectsVersions
|
404
|
+
attr_accessor :assignee
|
405
|
+
attr_accessor :attachmentNames
|
406
|
+
attr_accessor :components
|
407
|
+
attr_accessor :created
|
408
|
+
attr_accessor :customFieldValues
|
409
|
+
attr_accessor :description
|
410
|
+
attr_accessor :duedate
|
411
|
+
attr_accessor :environment
|
412
|
+
attr_accessor :fixVersions
|
413
|
+
attr_accessor :key
|
414
|
+
attr_accessor :priority
|
415
|
+
attr_accessor :project
|
416
|
+
attr_accessor :reporter
|
417
|
+
attr_accessor :resolution
|
418
|
+
attr_accessor :status
|
419
|
+
attr_accessor :summary
|
420
|
+
attr_accessor :type
|
421
|
+
attr_accessor :updated
|
422
|
+
attr_accessor :votes
|
423
|
+
|
424
|
+
def initialize(id = nil, affectsVersions = nil, assignee = nil, attachmentNames = nil, components = nil, created = nil, customFieldValues = nil, description = nil, duedate = nil, environment = nil, fixVersions = nil, key = nil, priority = nil, project = nil, reporter = nil, resolution = nil, status = nil, summary = nil, type = nil, updated = nil, votes = nil)
|
425
|
+
@id = id
|
426
|
+
@affectsVersions = affectsVersions
|
427
|
+
@assignee = assignee
|
428
|
+
@attachmentNames = attachmentNames
|
429
|
+
@components = components
|
430
|
+
@created = created
|
431
|
+
@customFieldValues = customFieldValues
|
432
|
+
@description = description
|
433
|
+
@duedate = duedate
|
434
|
+
@environment = environment
|
435
|
+
@fixVersions = fixVersions
|
436
|
+
@key = key
|
437
|
+
@priority = priority
|
438
|
+
@project = project
|
439
|
+
@reporter = reporter
|
440
|
+
@resolution = resolution
|
441
|
+
@status = status
|
442
|
+
@summary = summary
|
443
|
+
@type = type
|
444
|
+
@updated = updated
|
445
|
+
@votes = votes
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteAttachment
|
450
|
+
# id - SOAP::SOAPString
|
451
|
+
# author - SOAP::SOAPString
|
452
|
+
# created - SOAP::SOAPDateTime
|
453
|
+
# filename - SOAP::SOAPString
|
454
|
+
# filesize - SOAP::SOAPLong
|
455
|
+
# mimetype - SOAP::SOAPString
|
456
|
+
class RemoteAttachment < AbstractRemoteEntity
|
457
|
+
attr_accessor :id
|
458
|
+
attr_accessor :author
|
459
|
+
attr_accessor :created
|
460
|
+
attr_accessor :filename
|
461
|
+
attr_accessor :filesize
|
462
|
+
attr_accessor :mimetype
|
463
|
+
|
464
|
+
def initialize(id = nil, author = nil, created = nil, filename = nil, filesize = nil, mimetype = nil)
|
465
|
+
@id = id
|
466
|
+
@author = author
|
467
|
+
@created = created
|
468
|
+
@filename = filename
|
469
|
+
@filesize = filesize
|
470
|
+
@mimetype = mimetype
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
474
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteCustomFieldValue
|
475
|
+
# customfieldId - SOAP::SOAPString
|
476
|
+
# key - SOAP::SOAPString
|
477
|
+
# values - Jira4R::V2::ArrayOf_xsd_string
|
478
|
+
class RemoteCustomFieldValue
|
479
|
+
attr_accessor :customfieldId
|
480
|
+
attr_accessor :key
|
481
|
+
attr_accessor :values
|
482
|
+
|
483
|
+
def initialize(customfieldId = nil, key = nil, values = nil)
|
484
|
+
@customfieldId = customfieldId
|
485
|
+
@key = key
|
486
|
+
@values = values
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
490
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteFieldValue
|
491
|
+
# id - SOAP::SOAPString
|
492
|
+
# values - Jira4R::V2::ArrayOf_xsd_string
|
493
|
+
class RemoteFieldValue
|
494
|
+
attr_accessor :id
|
495
|
+
attr_accessor :values
|
496
|
+
|
497
|
+
def initialize(id = nil, values = nil)
|
498
|
+
@id = id
|
499
|
+
@values = values
|
500
|
+
end
|
501
|
+
end
|
502
|
+
|
503
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteConfiguration
|
504
|
+
# allowAttachments - SOAP::SOAPBoolean
|
505
|
+
# allowExternalUserManagment - SOAP::SOAPBoolean
|
506
|
+
# allowIssueLinking - SOAP::SOAPBoolean
|
507
|
+
# allowSubTasks - SOAP::SOAPBoolean
|
508
|
+
# allowTimeTracking - SOAP::SOAPBoolean
|
509
|
+
# allowUnassignedIssues - SOAP::SOAPBoolean
|
510
|
+
# allowVoting - SOAP::SOAPBoolean
|
511
|
+
# allowWatching - SOAP::SOAPBoolean
|
512
|
+
# timeTrackingDaysPerWeek - SOAP::SOAPInt
|
513
|
+
# timeTrackingHoursPerDay - SOAP::SOAPInt
|
514
|
+
class RemoteConfiguration
|
515
|
+
attr_accessor :allowAttachments
|
516
|
+
attr_accessor :allowExternalUserManagment
|
517
|
+
attr_accessor :allowIssueLinking
|
518
|
+
attr_accessor :allowSubTasks
|
519
|
+
attr_accessor :allowTimeTracking
|
520
|
+
attr_accessor :allowUnassignedIssues
|
521
|
+
attr_accessor :allowVoting
|
522
|
+
attr_accessor :allowWatching
|
523
|
+
attr_accessor :timeTrackingDaysPerWeek
|
524
|
+
attr_accessor :timeTrackingHoursPerDay
|
525
|
+
|
526
|
+
def initialize(allowAttachments = nil, allowExternalUserManagment = nil, allowIssueLinking = nil, allowSubTasks = nil, allowTimeTracking = nil, allowUnassignedIssues = nil, allowVoting = nil, allowWatching = nil, timeTrackingDaysPerWeek = nil, timeTrackingHoursPerDay = nil)
|
527
|
+
@allowAttachments = allowAttachments
|
528
|
+
@allowExternalUserManagment = allowExternalUserManagment
|
529
|
+
@allowIssueLinking = allowIssueLinking
|
530
|
+
@allowSubTasks = allowSubTasks
|
531
|
+
@allowTimeTracking = allowTimeTracking
|
532
|
+
@allowUnassignedIssues = allowUnassignedIssues
|
533
|
+
@allowVoting = allowVoting
|
534
|
+
@allowWatching = allowWatching
|
535
|
+
@timeTrackingDaysPerWeek = timeTrackingDaysPerWeek
|
536
|
+
@timeTrackingHoursPerDay = timeTrackingHoursPerDay
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
540
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteScheme
|
541
|
+
# description - SOAP::SOAPString
|
542
|
+
# id - SOAP::SOAPLong
|
543
|
+
# name - SOAP::SOAPString
|
544
|
+
# type - SOAP::SOAPString
|
545
|
+
class RemoteScheme
|
546
|
+
attr_accessor :description
|
547
|
+
attr_accessor :id
|
548
|
+
attr_accessor :name
|
549
|
+
attr_accessor :type
|
550
|
+
|
551
|
+
def initialize(description = nil, id = nil, name = nil, type = nil)
|
552
|
+
@description = description
|
553
|
+
@id = id
|
554
|
+
@name = name
|
555
|
+
@type = type
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
559
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemotePermissionScheme
|
560
|
+
# description - SOAP::SOAPString
|
561
|
+
# id - SOAP::SOAPLong
|
562
|
+
# name - SOAP::SOAPString
|
563
|
+
# type - SOAP::SOAPString
|
564
|
+
# permissionMappings - Jira4R::V2::ArrayOf_tns1_RemotePermissionMapping
|
565
|
+
class RemotePermissionScheme < RemoteScheme
|
566
|
+
attr_accessor :description
|
567
|
+
attr_accessor :id
|
568
|
+
attr_accessor :name
|
569
|
+
attr_accessor :type
|
570
|
+
attr_accessor :permissionMappings
|
571
|
+
|
572
|
+
def initialize(description = nil, id = nil, name = nil, type = nil, permissionMappings = nil)
|
573
|
+
@description = description
|
574
|
+
@id = id
|
575
|
+
@name = name
|
576
|
+
@type = type
|
577
|
+
@permissionMappings = permissionMappings
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemotePermission
|
582
|
+
# name - SOAP::SOAPString
|
583
|
+
# permission - SOAP::SOAPLong
|
584
|
+
class RemotePermission
|
585
|
+
attr_accessor :name
|
586
|
+
attr_accessor :permission
|
587
|
+
|
588
|
+
def initialize(name = nil, permission = nil)
|
589
|
+
@name = name
|
590
|
+
@permission = permission
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemotePermissionMapping
|
595
|
+
# permission - Jira4R::V2::RemotePermission
|
596
|
+
# remoteEntities - Jira4R::V2::ArrayOf_tns1_RemoteEntity
|
597
|
+
class RemotePermissionMapping
|
598
|
+
attr_accessor :permission
|
599
|
+
attr_accessor :remoteEntities
|
600
|
+
|
601
|
+
def initialize(permission = nil, remoteEntities = nil)
|
602
|
+
@permission = permission
|
603
|
+
@remoteEntities = remoteEntities
|
604
|
+
end
|
605
|
+
end
|
606
|
+
|
607
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteProjectRole
|
608
|
+
# description - SOAP::SOAPString
|
609
|
+
# id - SOAP::SOAPLong
|
610
|
+
# name - SOAP::SOAPString
|
611
|
+
class RemoteProjectRole
|
612
|
+
attr_accessor :description
|
613
|
+
attr_accessor :id
|
614
|
+
attr_accessor :name
|
615
|
+
|
616
|
+
def initialize(description = nil, id = nil, name = nil)
|
617
|
+
@description = description
|
618
|
+
@id = id
|
619
|
+
@name = name
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
623
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteRoleActor
|
624
|
+
# descriptor - SOAP::SOAPString
|
625
|
+
# parameter - SOAP::SOAPString
|
626
|
+
# projectRole - Jira4R::V2::RemoteProjectRole
|
627
|
+
# type - SOAP::SOAPString
|
628
|
+
# users - Jira4R::V2::ArrayOf_tns1_RemoteUser
|
629
|
+
class RemoteRoleActor
|
630
|
+
attr_accessor :descriptor
|
631
|
+
attr_accessor :parameter
|
632
|
+
attr_accessor :projectRole
|
633
|
+
attr_accessor :type
|
634
|
+
attr_accessor :users
|
635
|
+
|
636
|
+
def initialize(descriptor = nil, parameter = nil, projectRole = nil, type = nil, users = nil)
|
637
|
+
@descriptor = descriptor
|
638
|
+
@parameter = parameter
|
639
|
+
@projectRole = projectRole
|
640
|
+
@type = type
|
641
|
+
@users = users
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
645
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteRoleActors
|
646
|
+
# projectRole - Jira4R::V2::RemoteProjectRole
|
647
|
+
# roleActors - Jira4R::V2::ArrayOf_tns1_RemoteRoleActor
|
648
|
+
# users - Jira4R::V2::ArrayOf_tns1_RemoteUser
|
649
|
+
class RemoteRoleActors
|
650
|
+
attr_accessor :projectRole
|
651
|
+
attr_accessor :roleActors
|
652
|
+
attr_accessor :users
|
653
|
+
|
654
|
+
def initialize(projectRole = nil, roleActors = nil, users = nil)
|
655
|
+
@projectRole = projectRole
|
656
|
+
@roleActors = roleActors
|
657
|
+
@users = users
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteProjectRoleActors
|
662
|
+
# projectRole - Jira4R::V2::RemoteProjectRole
|
663
|
+
# roleActors - Jira4R::V2::ArrayOf_tns1_RemoteRoleActor
|
664
|
+
# users - Jira4R::V2::ArrayOf_tns1_RemoteUser
|
665
|
+
# project - Jira4R::V2::RemoteProject
|
666
|
+
class RemoteProjectRoleActors < RemoteRoleActors
|
667
|
+
attr_accessor :projectRole
|
668
|
+
attr_accessor :roleActors
|
669
|
+
attr_accessor :users
|
670
|
+
attr_accessor :project
|
671
|
+
|
672
|
+
def initialize(projectRole = nil, roleActors = nil, users = nil, project = nil)
|
673
|
+
@projectRole = projectRole
|
674
|
+
@roleActors = roleActors
|
675
|
+
@users = users
|
676
|
+
@project = project
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
680
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteAvatar
|
681
|
+
# base64Data - SOAP::SOAPString
|
682
|
+
# contentType - SOAP::SOAPString
|
683
|
+
# id - SOAP::SOAPLong
|
684
|
+
# owner - SOAP::SOAPString
|
685
|
+
# system - SOAP::SOAPBoolean
|
686
|
+
# type - SOAP::SOAPString
|
687
|
+
class RemoteAvatar
|
688
|
+
attr_accessor :base64Data
|
689
|
+
attr_accessor :contentType
|
690
|
+
attr_accessor :id
|
691
|
+
attr_accessor :owner
|
692
|
+
attr_accessor :system
|
693
|
+
attr_accessor :type
|
694
|
+
|
695
|
+
def initialize(base64Data = nil, contentType = nil, id = nil, owner = nil, system = nil, type = nil)
|
696
|
+
@base64Data = base64Data
|
697
|
+
@contentType = contentType
|
698
|
+
@id = id
|
699
|
+
@owner = owner
|
700
|
+
@system = system
|
701
|
+
@type = type
|
702
|
+
end
|
703
|
+
end
|
704
|
+
|
705
|
+
# {http://beans.soap.rpc.jira.atlassian.com}RemoteWorklog
|
706
|
+
# author - SOAP::SOAPString
|
707
|
+
# comment - SOAP::SOAPString
|
708
|
+
# created - SOAP::SOAPDateTime
|
709
|
+
# groupLevel - SOAP::SOAPString
|
710
|
+
# id - SOAP::SOAPString
|
711
|
+
# roleLevelId - SOAP::SOAPString
|
712
|
+
# startDate - SOAP::SOAPDateTime
|
713
|
+
# timeSpent - SOAP::SOAPString
|
714
|
+
# timeSpentInSeconds - SOAP::SOAPLong
|
715
|
+
# updateAuthor - SOAP::SOAPString
|
716
|
+
# updated - SOAP::SOAPDateTime
|
717
|
+
class RemoteWorklog
|
718
|
+
attr_accessor :author
|
719
|
+
attr_accessor :comment
|
720
|
+
attr_accessor :created
|
721
|
+
attr_accessor :groupLevel
|
722
|
+
attr_accessor :id
|
723
|
+
attr_accessor :roleLevelId
|
724
|
+
attr_accessor :startDate
|
725
|
+
attr_accessor :timeSpent
|
726
|
+
attr_accessor :timeSpentInSeconds
|
727
|
+
attr_accessor :updateAuthor
|
728
|
+
attr_accessor :updated
|
729
|
+
|
730
|
+
def initialize(author = nil, comment = nil, created = nil, groupLevel = nil, id = nil, roleLevelId = nil, startDate = nil, timeSpent = nil, timeSpentInSeconds = nil, updateAuthor = nil, updated = nil)
|
731
|
+
@author = author
|
732
|
+
@comment = comment
|
733
|
+
@created = created
|
734
|
+
@groupLevel = groupLevel
|
735
|
+
@id = id
|
736
|
+
@roleLevelId = roleLevelId
|
737
|
+
@startDate = startDate
|
738
|
+
@timeSpent = timeSpent
|
739
|
+
@timeSpentInSeconds = timeSpentInSeconds
|
740
|
+
@updateAuthor = updateAuthor
|
741
|
+
@updated = updated
|
742
|
+
end
|
743
|
+
end
|
744
|
+
|
745
|
+
# {http://exception.rpc.jira.atlassian.com}RemoteException
|
746
|
+
class RemoteException < ::StandardError
|
747
|
+
def initialize
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
751
|
+
# {http://exception.rpc.jira.atlassian.com}RemotePermissionException
|
752
|
+
class RemotePermissionException < ::StandardError
|
753
|
+
def initialize
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
# {http://exception.rpc.jira.atlassian.com}RemoteValidationException
|
758
|
+
class RemoteValidationException < ::StandardError
|
759
|
+
def initialize
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
# {http://exception.rpc.jira.atlassian.com}RemoteAuthenticationException
|
764
|
+
class RemoteAuthenticationException < ::StandardError
|
765
|
+
def initialize
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteUser
|
770
|
+
class ArrayOf_tns1_RemoteUser < ::Array
|
771
|
+
end
|
772
|
+
|
773
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteVersion
|
774
|
+
class ArrayOf_tns1_RemoteVersion < ::Array
|
775
|
+
end
|
776
|
+
|
777
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_xsd_string
|
778
|
+
class ArrayOf_xsd_string < ::Array
|
779
|
+
end
|
780
|
+
|
781
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteComponent
|
782
|
+
class ArrayOf_tns1_RemoteComponent < ::Array
|
783
|
+
end
|
784
|
+
|
785
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteCustomFieldValue
|
786
|
+
class ArrayOf_tns1_RemoteCustomFieldValue < ::Array
|
787
|
+
end
|
788
|
+
|
789
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteFieldValue
|
790
|
+
class ArrayOf_tns1_RemoteFieldValue < ::Array
|
791
|
+
end
|
792
|
+
|
793
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteNamedObject
|
794
|
+
class ArrayOf_tns1_RemoteNamedObject < ::Array
|
795
|
+
end
|
796
|
+
|
797
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteIssueType
|
798
|
+
class ArrayOf_tns1_RemoteIssueType < ::Array
|
799
|
+
end
|
800
|
+
|
801
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteEntity
|
802
|
+
class ArrayOf_tns1_RemoteEntity < ::Array
|
803
|
+
end
|
804
|
+
|
805
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemotePermissionMapping
|
806
|
+
class ArrayOf_tns1_RemotePermissionMapping < ::Array
|
807
|
+
end
|
808
|
+
|
809
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemotePriority
|
810
|
+
class ArrayOf_tns1_RemotePriority < ::Array
|
811
|
+
end
|
812
|
+
|
813
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteResolution
|
814
|
+
class ArrayOf_tns1_RemoteResolution < ::Array
|
815
|
+
end
|
816
|
+
|
817
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteStatus
|
818
|
+
class ArrayOf_tns1_RemoteStatus < ::Array
|
819
|
+
end
|
820
|
+
|
821
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteProjectRole
|
822
|
+
class ArrayOf_tns1_RemoteProjectRole < ::Array
|
823
|
+
end
|
824
|
+
|
825
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteRoleActor
|
826
|
+
class ArrayOf_tns1_RemoteRoleActor < ::Array
|
827
|
+
end
|
828
|
+
|
829
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteScheme
|
830
|
+
class ArrayOf_tns1_RemoteScheme < ::Array
|
831
|
+
end
|
832
|
+
|
833
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteField
|
834
|
+
class ArrayOf_tns1_RemoteField < ::Array
|
835
|
+
end
|
836
|
+
|
837
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteComment
|
838
|
+
class ArrayOf_tns1_RemoteComment < ::Array
|
839
|
+
end
|
840
|
+
|
841
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteFilter
|
842
|
+
class ArrayOf_tns1_RemoteFilter < ::Array
|
843
|
+
end
|
844
|
+
|
845
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteSecurityLevel
|
846
|
+
class ArrayOf_tns1_RemoteSecurityLevel < ::Array
|
847
|
+
end
|
848
|
+
|
849
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteAvatar
|
850
|
+
class ArrayOf_tns1_RemoteAvatar < ::Array
|
851
|
+
end
|
852
|
+
|
853
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemotePermissionScheme
|
854
|
+
class ArrayOf_tns1_RemotePermissionScheme < ::Array
|
855
|
+
end
|
856
|
+
|
857
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemotePermission
|
858
|
+
class ArrayOf_tns1_RemotePermission < ::Array
|
859
|
+
end
|
860
|
+
|
861
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_xsd_base64Binary
|
862
|
+
class ArrayOf_xsd_base64Binary < ::Array
|
863
|
+
end
|
864
|
+
|
865
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteAttachment
|
866
|
+
class ArrayOf_tns1_RemoteAttachment < ::Array
|
867
|
+
end
|
868
|
+
|
869
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteWorklog
|
870
|
+
class ArrayOf_tns1_RemoteWorklog < ::Array
|
871
|
+
end
|
872
|
+
|
873
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteIssue
|
874
|
+
class ArrayOf_tns1_RemoteIssue < ::Array
|
875
|
+
end
|
876
|
+
|
877
|
+
# {http://jira.atlassian.com/rpc/soap/jirasoapservice-v2}ArrayOf_tns1_RemoteProject
|
878
|
+
class ArrayOf_tns1_RemoteProject < ::Array
|
879
|
+
end
|
880
|
+
|
881
|
+
|
882
|
+
end; end
|