ticket_abstractor_client 1.13.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d0dbd0ba83af9e4ed48a13a8a824cb7cf14d816
4
- data.tar.gz: 63f0f970905787372ebd2939198cb17adac1f39c
3
+ metadata.gz: d150c4e093b4360b9b1dcc6cf09a6265e9ccb9a1
4
+ data.tar.gz: 4e5ebb2195cb493b4333149cf541061100474fa0
5
5
  SHA512:
6
- metadata.gz: f55806671a930c5031bfe12b766e5cbfdb1566f5379a4839b9b3d8d4c2bdeb5fbc00aab66add0505cc9c06430e8dfb2296c9277284f57930bc312b90186b3813
7
- data.tar.gz: 856c2c09de70bc4eec5fbebf703c014ded56a74627539af15da406720c00662c785f5e0bceae08bd0e032e98e153ccb4ae995a51046b27597f40603999b89fea
6
+ metadata.gz: 9e4654b8a9f97d9b7de3e8f97ff3ec0b331762806fbc136eda4877ebd9a4ebe4a4fbd2fa1041a644895cc129c98be82a3b4f66155b2283485c25e6bdeee62b35
7
+ data.tar.gz: c610118d55484aa1661c533d2028e253a18e87834292a5bce870aaa146bba894972c16347f4768d3c1c4bd503a871c1439bc8d5fe2863e0e0e2c940db4dc1d38
data/README.md CHANGED
@@ -103,6 +103,21 @@ Create incident (project, summary, description and issuetype fields are required
103
103
  }}
104
104
  client.jira.create_tvx_issue options
105
105
 
106
+ Add comment to the issue (issuekey and comment fields are required):
107
+
108
+ client.jira.add_comment(issuekey: 'IFS-123', comment: 'comment to ticket')
109
+
110
+ Add an actiity to the issue (issuekey, comment and opts fields are required):
111
+ opts should containt {generator: { id:, display_name:}, event_id:}
112
+
113
+ client.jira.add_activity(issuekey: 'IFS-123', comment: 'activity comment to ticket',
114
+ generator: {
115
+ id: 'https://intel.xcal.tv',
116
+ display_name: 'OIV'
117
+ },
118
+ event_id: '23456'
119
+ )
120
+
106
121
  ### Brouha
107
122
 
108
123
  Grab issue:
@@ -139,7 +139,7 @@ class TicketAbstractorClient::JiraClient < TicketAbstractorClient::Client
139
139
  post_with_endpoint 'jira/add_comment', issue_key: issue_key, comment: comment
140
140
  end
141
141
 
142
- def add_activity(issue_key, comment, id, opts = {})
143
- post_with_endpoint 'jira/add_activity', issue_key: issue_key, comment: comment, id: id, opts: opts
142
+ def add_activity(issue_key, comment, opts = {})
143
+ post_with_endpoint 'jira/add_activity', issue_key: issue_key, comment: comment, opts: opts
144
144
  end
145
145
  end
@@ -1,3 +1,3 @@
1
1
  module TicketAbstractorClient
2
- VERSION = '1.13.0'
2
+ VERSION = '1.14.0'
3
3
  end
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.13.0
4
+ version: 1.14.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-12-03 00:00:00.000000000 Z
11
+ date: 2015-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler