ticket_abstractor_client 1.3.0 → 1.4.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: b765739a76110bc790c601429b2b34d830cf643d
4
- data.tar.gz: ce36d8e1015a6e9258dfb0017b5511d61a87ea33
3
+ metadata.gz: 72e72332c1e26bf828b10b0e9468546d5a49c8df
4
+ data.tar.gz: a83ac438ba4efbf14af9325e00f2644eb69f5fe7
5
5
  SHA512:
6
- metadata.gz: 2f6362e139e61fe8002f4c58f53f5eeef59babc39be4b7b004138a1c6ca0b64e44a01ff083a76cdfc085d6f67daa5a5edfa0728d9350f6c2cfb5830c21921f4d
7
- data.tar.gz: 425f5b584194801390f5beaf8de8b748421857de5c7407f87538210351890c376f8b6e34c1f2d21fbb622f261d79d2d8cf30cec29a34748955cd6aa3d79926eb
6
+ metadata.gz: 4711c3421c2fc6a1156bbf6171138cb1ed958187c0cbd467a883db3343932a1ff480b76f6ab3363e48ae8509c1abb2da878a3b7f003841f4268478c45fc738dd
7
+ data.tar.gz: 6faec392e10c506740e6b6ee6a64aeac58fbb6c6c5a25dab50edbfd2c5868ef17b5fc49e1c4ff4a0833dfeabc3f85b5896e88867a4d1563c6b49cd52d44933c7
@@ -25,6 +25,20 @@ class TicketAbstractorClient::JiraClient < TicketAbstractorClient::Client
25
25
  get 'jira/endpoints'
26
26
  end
27
27
 
28
+ ##
29
+ # Get jira raw issue by issue id
30
+ #
31
+ # == Parameters:
32
+ # issue_key:
33
+ # issue id in jira
34
+ #
35
+ # == Example:
36
+ # >> client.jira.get_raw_issue 'IFS-123'
37
+ # => {"id"=>"433537", "self"=>"https://www.teamccp.com/jira/rest/api/2/issue/433537", "key"=>"IFS-123", "fields"=>{"summary"=>"...", "issuetype"=>{...}}
38
+ def get_raw_issue(issue_key)
39
+ get_with_endpoint "jira/get_raw_issue", issue_key: issue_key
40
+ end
41
+
28
42
  ##
29
43
  # Get jira issue by issue id
30
44
  #
@@ -1,3 +1,3 @@
1
1
  module TicketAbstractorClient
2
- VERSION = '1.3.0'
2
+ VERSION = '1.4.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticket_abstractor_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - rsamoilov