ticket_abstractor_client 1.7.0 → 1.9.0
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c88b4a2aeb0ca52d497424af4ce3cb19da6d9291
|
4
|
+
data.tar.gz: 360d11a160814a7e3fecdfd7a4168b4397a39154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8443bf1952fd9ab88df7c0f2b7833393721f58e5b91a98ef1dc8b28664124563b85d58f14c2b353773d64f5db0cca89c922b63548e6a497bd2e98c26c51cddab
|
7
|
+
data.tar.gz: 63d67c76863696be59af96e9d2ff90c79908942661bba013c89aaae6694eaa508e5b5a50c43ac81e5a3b9ca9c0157ac3c31b19e7b85a8d700e34b933f4ca69ea
|
@@ -10,4 +10,8 @@ class TicketAbstractorClient::BrouhaClient < TicketAbstractorClient::Client
|
|
10
10
|
def list_product_services(params = {})
|
11
11
|
get 'brouha/list_product_services', params
|
12
12
|
end
|
13
|
+
|
14
|
+
def get_incidents_by_query(query_params)
|
15
|
+
get 'brouha/incidents', { query_params: query_params }
|
16
|
+
end
|
13
17
|
end
|
@@ -33,10 +33,10 @@ class TicketAbstractorClient::JiraClient < TicketAbstractorClient::Client
|
|
33
33
|
# issue id in jira
|
34
34
|
#
|
35
35
|
# == Example:
|
36
|
-
# >> client.jira.
|
36
|
+
# >> client.jira.raw_get_issue 'IFS-123'
|
37
37
|
# => {"id"=>"433537", "self"=>"https://www.teamccp.com/jira/rest/api/2/issue/433537", "key"=>"IFS-123", "fields"=>{"summary"=>"...", "issuetype"=>{...}}
|
38
|
-
def
|
39
|
-
get_with_endpoint "jira/
|
38
|
+
def raw_get_issue(issue_key)
|
39
|
+
get_with_endpoint "jira/raw_get_issue", { issue_key: issue_key }, raw_request: true
|
40
40
|
end
|
41
41
|
|
42
42
|
##
|
@@ -105,11 +105,11 @@ class TicketAbstractorClient::JiraClient < TicketAbstractorClient::Client
|
|
105
105
|
end
|
106
106
|
|
107
107
|
def raw_create_issue(opts = {}, *attachments)
|
108
|
-
post_with_endpoint 'jira/raw_create_issue', { opts: opts }, attachments: attachments
|
108
|
+
post_with_endpoint 'jira/raw_create_issue', { opts: opts }, attachments: attachments, raw_request: true
|
109
109
|
end
|
110
110
|
|
111
111
|
def raw_update_issue(opts = {}, *attachments)
|
112
|
-
post_with_endpoint 'jira/raw_update_issue', { opts: opts }, attachments: attachments
|
112
|
+
post_with_endpoint 'jira/raw_update_issue', { opts: opts }, attachments: attachments, raw_request: true
|
113
113
|
end
|
114
114
|
|
115
115
|
def create_tvx_issue(opts = {})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ticket_abstractor_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rsamoilov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|