lita-youtrack 0.1.0 → 0.1.1

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: 9d7a1684ee245bdfe51e5f1e184412ec88b05297
4
- data.tar.gz: 1b3a8d77c975140607ef9f4436127205f3eed508
3
+ metadata.gz: 4f0d3ddca244d477e0d53a0c7c688dd84afe4ee5
4
+ data.tar.gz: d4fa6653c58bbbf36db11e457761f7e36ba2e174
5
5
  SHA512:
6
- metadata.gz: 0e167ffd3daf509b7a1064ea99b8a445d8fa6921d5ed2f5732e8fc9eeccf9df4ae553200827214c634adc2083c3f10fde452f9b09b547fda6bc8689db2747b47
7
- data.tar.gz: 70e457dbcc14cfd38355b5eea68e5d9f15b7434a3b238e0263cceaa50b47343967fb2f042f70e50fbdea50c8463e5e46a8d9d32ac1ebaeaf6fc319fd63e9812a
6
+ metadata.gz: d1f070cb671a3506c2a8b066f7988ebe619d3fea82f038563027e5f958cebf5afd82e5736e62979d24df3bf4eac401b53deff8bbf6ecf0067ee9d04db221ee69
7
+ data.tar.gz: 049f2fed7b1e437457c34e42b0b24555722ab18076d243fa809d89f69780d4b0ad7de656e044f2c12b2dcd5df9a6f70480ab2b8980d50d8ac89343e877a4bdf4
data/README.md CHANGED
@@ -43,10 +43,14 @@ To display every youtrack project
43
43
 
44
44
  ```lita projects```
45
45
 
46
- To display issues from a specific project (PROJECTNAME is the abreviated name shown by 'lita projects')
46
+ To display incomplete issues from a specific project (PROJECTNAME is the abreviated name shown by 'lita projects')
47
47
 
48
48
  ```lita project PROJECTNAME```
49
49
 
50
+ To display all issues from a specific project (PROJECTNAME is the abreviated name shown by 'lita projects')
51
+
52
+ ```lita project PROJECTNAME all```
53
+
50
54
  To display issues labeled as bugs, not including those in the 'parking lot'
51
55
 
52
56
  ```lita bugs```
@@ -15,16 +15,17 @@ module Lita
15
15
  config.password = nil
16
16
  end
17
17
 
18
- route(/\bproject (\w+)?/i, :project, command: true, help: { "project car" => "Displays the issues with youtrack project car"})
18
+ route(/\bproject (\w+)? *(\w+)*/i, :project, command: true, help: { "project car" => "Displays the issues with youtrack project car"})
19
19
  route(/\bprojects\b/i, :projects, command: true, help: { "projects" => "Displays a list of projects and their short names"})
20
20
  route(/\bbugs *(\w*)/i, :bugs, command: true, help: { "bugs" => "Display all issues with filter -Done -{Parking Lot} #Bug sort by: AMA_Priorities, Updated ",
21
21
  "bugs parking" => "Also displays bugs in parking lot"})
22
22
 
23
23
  def project(response)
24
24
  project_name = response.matches[0][0]
25
- uri = URI("#{youtrack_hosturl}/rest/export/#{project_name}/issues")
25
+ filter = done_filter(response.matches[0][1])
26
+ uri = URI("#{youtrack_hosturl}/rest/issue/byproject/#{project_name}?#{filter}max=1000")
26
27
  response_body = call_http(uri)
27
- parse_data = parse_project(response_body)
28
+ parse_data = parse_project(response_body, filter)
28
29
  response.reply project_response(parse_data, project_name)
29
30
  end
30
31
 
@@ -36,7 +37,7 @@ module Lita
36
37
  end
37
38
 
38
39
  def bugs(response)
39
- filter = filter(response.matches[0][0])
40
+ filter = parking_filter(response.matches[0][0])
40
41
  uri = URI("#{youtrack_hosturl}/rest/issue?filter=%23Bug+-Done+#{filter}sort+by%3A+AMA_Priorities%2C+Updated&max=25")
41
42
  response_body = call_http(uri)
42
43
  parse_data = parse_bugs(response_body, filter)
@@ -52,7 +53,7 @@ module Lita
52
53
 
53
54
  private
54
55
 
55
- def filter(param)
56
+ def parking_filter(param)
56
57
  if param.downcase == "parking"
57
58
  ""
58
59
  else
@@ -60,10 +61,19 @@ module Lita
60
61
  end
61
62
  end
62
63
 
63
- def parse_project(response_body)
64
- data_hash = { responseString: "" , numbers: [] , longnames: response_body.scan(/<field name="summary"> *<value>(.*?)<\/value>/i) }
64
+ def done_filter(param)
65
+ if param.to_s.downcase == "all"
66
+ ""
67
+ else
68
+ "filter=-Done&"
69
+ end
70
+ end
71
+
72
+ def parse_project(response_body, filter)
73
+ data_hash = { responseString: "" , numbers: [] , longnames: response_body.scan(/name="summary"><value>(.*?)<\/value>/i) }
65
74
  response_body.scan(/name="numberInProject"><value>\d*/i) { |m| data_hash[:numbers] << m.scan(/[0-9]+/).first }
66
- data_hash[:responseString] = "Project not found - type 'lita projects' for list" if data_hash[:longnames].count == 0
75
+ data_hash[:responseString] = "Either project doesn't exist, or it has no issues - type 'lita projects' for list\n" if data_hash[:longnames].count == 0
76
+ data_hash[:responseString] += "Showing only incomplete issues, add an 'all' to see all issues\n" if filter!=""
67
77
  data_hash
68
78
  end
69
79
 
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module Youtrack
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
Binary file
@@ -0,0 +1,5 @@
1
+
2
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?><issues><issue id="RSA-1000" entityId="83-113"><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="projectShortName"><value>RSA</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="numberInProject"><value>1000</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="summary"><value>Fix RR Averaging Formulas</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="description"><value>
3
+ trevor.nonay@ama.ab.ca&lt;mailto:trevor.nonay@ama.ab.ca&gt; | www.ama.ab.ca&amp;lt;http://www.ama.ab.ca/&amp;gt;</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="created"><value>1425576485657</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updated"><value>1434387496955</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterName"><value>darko.dosenovic</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterFullName"><value>darko.dosenovic</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="resolved"><value>1434387496932</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterName"><value>ruben.estevez</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterFullName"><value>ruben.estevez</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="commentsCount"><value>7</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="votes"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Priorities"><value>Critical</value><valueId>Critical</valueId><color><bg>#ffe3e3</bg><fg>#cc0000</fg></color></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Types"><value>Bug</value><valueId>Bug</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_States"><value>Done</value><valueId>Done</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Versions"><value>1.0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="MultiUserField" name="Product Owner"><value fullName="rod.hodgson">rod.hodgson</value></field><comment id="98-69" author="mathieu.gilbert" authorFullName="mathieu.gilbert" issueId="RSA-1000" deleted="false" text="MvdB: Waiting for the new Road Reports servers." shownForIssueAuthor="false" created="1426197610080"><replies/></comment><comment id="98-632" author="rod.hodgson" authorFullName="rod.hodgson" issueId="RSA-1000" deleted="false" text="This is causing issues for Roadside. What is the reason for waiting for the new servers? At the rate that is happening I will be retired before this one gets done ; )&#xA;&#xA;&quot;That said, at this point, I consider this incorrect PTA quoting a serious issue and needs to be corrected ASAP (like last winter…). We are misinforming and disappointing members every day, causing confusion between members and our MSRs on the phone and the issue has gone on for far too long.&#xA;-&#x9;For example, earlier this morning the AMA Road Reports website was quoting 3 hours for Edmonton, when the actual PTA was 1 hour… We are not making happy members when they look at our webpage to find out how long it is going to take for us to help them!&#xA;&#xA;&#xA;How can I go about getting this prioritized?&quot;&#xA;&#xA;&#xA;Regards,&#xA;Trevor&#xA;" shownForIssueAuthor="false" created="1432303109361"><replies/></comment><comment id="98-633" author="michael.vandenbeuken" authorFullName="michael.vandenbeuken" issueId="RSA-1000" deleted="false" text="@rod.hodgson Is there any way we can get more information from Trevor before doing this? My worry is by hard-coding a couple of facilities for a couple of municipalities, that we'll just be putting a bandaid on the problem, and the problems will just pop up in a different way in a different place.&#xA;&#xA;When we originally did the work for RSA they put together the algorithm for us, but it seems like either the data or the needs have changed since then.&#xA;&#xA;Based on a brief read, it appears that the times they want are times from the PTA table, and that there are &quot;Primary&quot; facilities, and that these can change at any time. Are they flagged in the system in any way? If they are flagged in the PTA table, then we could change the algorithm for all municipalities so that they would only take into account wait times for facilities that have PTAs (no more tmp_avg_wait_time), and only facilities currently marked as &quot;Primary&quot;.&#xA;&#xA;What do you think? I would love to find a way to make a viable, global and long-term fix." shownForIssueAuthor="false" created="1432308167720" updated="1432308196290"><replies/></comment><comment id="98-638" author="michael.vandenbeuken" authorFullName="michael.vandenbeuken" issueId="RSA-1000" deleted="false" text="@ruben.estevez: @rod.hodgson has set up a meeting to discuss requirements with Trevor. Let's get him to invite you on Monday.&#xA;&#xA;When: 11:15 AM - 12:00 PM May 27, 2015 &#xA;Subject: Discuss RSA Wait Time Display on ARR&#xA;Location: ERS building beside the PCC" shownForIssueAuthor="false" created="1432333477547" updated="1432308167710"><replies/></comment><comment id="98-667" author="michael.vandenbeuken" authorFullName="michael.vandenbeuken" issueId="RSA-1000" deleted="false" text="Trevor Nonay communicated that they'd like Calgary and Edmonton only use the following (Fleet) facilities for Full, Battery or Light service.&#xA;&#xA;Calgary: 2/22&#xA;Edmonton: 1/11&#xA;" shownForIssueAuthor="false" created="1432853379392" updated="1432333477534"><replies/></comment><comment id="98-713" author="darko.dosenovic" authorFullName="darko.dosenovic" issueId="RSA-1000" deleted="false" text="This is fixed and it is live now. Please make final review and update this bug record." shownForIssueAuthor="false" created="1434056249759"><replies/></comment><comment id="98-723" author="darko.dosenovic" authorFullName="darko.dosenovic" issueId="RSA-1000" deleted="false" text="I am closing this one since there is no 'complains'." shownForIssueAuthor="false" created="1434387494554" updated="1434056249750"><replies/></comment></issue><issue id="RSA-1002" entityId="83-975"><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="projectShortName"><value>RSA</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="numberInProject"><value>1002</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="summary"><value>ESB update to handle D2000 logic</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="description"><value>Once D3 is in place, we an determine what fields are available for displaying wait times (not expecting change) if there is still logic required to determine the time in Calgary &amp; Edmonton, then we should update the ESB to handle that logic.</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="created"><value>1433778654862</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updated"><value>1433778654862</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="commentsCount"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="votes"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Priorities"><value>Normal</value><valueId>Normal</valueId><color><bg>#ebf4dd</bg><fg>#64992C</fg></color></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Types"><value>Feature</value><valueId>Feature</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_States"><value>Parking Lot</value><valueId>Parking Lot</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Versions"><value>1.0</value></field></issue><issue id="RSA-1003" entityId="83-976"><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="projectShortName"><value>RSA</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="numberInProject"><value>1003</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="summary"><value>AMA RSA Parts, Sales &amp; Service Website</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="description"><value>R</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="created"><value>1433779194166</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updated"><value>1433779202707</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="commentsCount"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="votes"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Priorities"><value>Normal</value><valueId>Normal</valueId><color><bg>#ebf4dd</bg><fg>#64992C</fg></color></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Types"><value>Feature</value><valueId>Feature</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_States"><value>Backlog</value><valueId>Backlog</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Versions"><value>1.0</value></field></issue><issue id="RSA-1004" entityId="83-980"><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="projectShortName"><value>RSA</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="numberInProject"><value>1004</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="summary"><value>Service temporarily not available for RSA online</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="description"><value></value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="created"><value>1433794654683</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updated"><value>1434579196561</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="resolved"><value>1434579196559</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="commentsCount"><value>2</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="votes"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Priorities"><value>Normal</value><valueId>Normal</valueId><color><bg>#ebf4dd</bg><fg>#64992C</fg></color></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Types"><value>Feature</value><valueId>Feature</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_States"><value>Done</value><valueId>Done</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Versions"><value>1.0</value></field><comment id="98-718" author="krista.vieira" authorFullName="krista.vieira" issueId="RSA-1004" deleted="false" text="Here is the copy to use for when the RSA online form is disabled:&#xA;&#xA;Due to scheduled maintenance, our online Roadside Assistance form will be unavailable between Saturday, June 13 at 8 p.m. and Sunday at 8 a.m. &#xA;&#xA;You can still reach us by phone for Roadside Assistance by calling 1-800-222-4357. &#xA;&#xA;We apologize for the inconvenience.&#xA;&#xA;The information we got said the outage is taking place from 8 p.m. Saturday to 8 a.m. Sunday, so we might want to get that confirmed.&#xA;" shownForIssueAuthor="false" created="1434126501905"><replies/></comment><comment id="98-753" author="darko.dosenovic" authorFullName="darko.dosenovic" issueId="RSA-1004" deleted="false" text="@rod.hodgson &#xA;&#xA;I believe this is done....." shownForIssueAuthor="false" created="1434579081829"><replies/></comment></issue><issue id="RSA-1005" entityId="83-1014"><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="projectShortName"><value>RSA</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="numberInProject"><value>1005</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="summary"><value>Replace RSA Battery Quote Tool (to be completed before Sept 1)</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="description"><value>
4
+
5
+ </value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="created"><value>1434487911453</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updated"><value>1434487911453</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="commentsCount"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="votes"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Priorities"><value>Normal</value><valueId>Normal</valueId><color><bg>#ebf4dd</bg><fg>#64992C</fg></color></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Types"><value>Feature</value><valueId>Feature</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_States"><value>Parking Lot</value><valueId>Parking Lot</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Versions"><value>1.0</value></field></issue></issues>
@@ -0,0 +1,5 @@
1
+ Fix RR Averaging Formulas - www.sampleyoutrackhost.com/issue/RSA-1000
2
+ ESB update to handle D2000 logic - www.sampleyoutrackhost.com/issue/RSA-1002
3
+ AMA RSA Parts, Sales &amp; Service Website - www.sampleyoutrackhost.com/issue/RSA-1003
4
+ Service temporarily not available for RSA online - www.sampleyoutrackhost.com/issue/RSA-1004
5
+ Replace RSA Battery Quote Tool (to be completed before Sept 1) - www.sampleyoutrackhost.com/issue/RSA-1005
@@ -0,0 +1,4 @@
1
+
2
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?><issues><issue id="RSA-1002" entityId="83-975"><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="projectShortName"><value>RSA</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="numberInProject"><value>1002</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="summary"><value>ESB update to handle D2000 logic</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="description"><value>Once ic.</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="created"><value>1433778654862</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updated"><value>1433778654862</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="commentsCount"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="votes"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Priorities"><value>Normal</value><valueId>Normal</valueId><color><bg>#ebf4dd</bg><fg>#64992C</fg></color></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Types"><value>Feature</value><valueId>Feature</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_States"><value>Parking Lot</value><valueId>Parking Lot</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Versions"><value>1.0</value></field></issue><issue id="RSA-1003" entityId="83-976"><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="projectShortName"><value>RSA</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="numberInProject"><value>1003</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="summary"><value>AMA RSA Parts, Sales &amp; Service Website</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="description"><value>RSA</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="created"><value>1433779194166</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updated"><value>1433779202707</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="commentsCount"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="votes"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Priorities"><value>Normal</value><valueId>Normal</valueId><color><bg>#ebf4dd</bg><fg>#64992C</fg></color></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Types"><value>Feature</value><valueId>Feature</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_States"><value>Backlog</value><valueId>Backlog</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Versions"><value>1.0</value></field></issue><issue id="RSA-1005" entityId="83-1014"><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="projectShortName"><value>RSA</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="numberInProject"><value>1005</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="summary"><value>Replace RSA Battery Quote Tool (to be completed before Sept 1)</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="description"><value>Just
3
+
4
+ </value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="created"><value>1434487911453</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updated"><value>1434487911453</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="updaterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="reporterFullName"><value>rod.hodgson</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="commentsCount"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SingleField" name="votes"><value>0</value></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Priorities"><value>Normal</value><valueId>Normal</valueId><color><bg>#ebf4dd</bg><fg>#64992C</fg></color></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Types"><value>Feature</value><valueId>Feature</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_States"><value>Parking Lot</value><valueId>Parking Lot</valueId></field><field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomFieldValue" name="AMA_Versions"><value>1.0</value></field></issue></issues>
@@ -0,0 +1,4 @@
1
+ Showing only incomplete issues, add an 'all' to see all issues
2
+ ESB update to handle D2000 logic - www.sampleyoutrackhost.com/issue/RSA-1002
3
+ AMA RSA Parts, Sales &amp; Service Website - www.sampleyoutrackhost.com/issue/RSA-1003
4
+ Replace RSA Battery Quote Tool (to be completed before Sept 1) - www.sampleyoutrackhost.com/issue/RSA-1005
@@ -14,8 +14,10 @@ describe Lita::Handlers::Youtrack, lita_handler: true do
14
14
  let(:no_bugs_output) { [File.read("spec/fixtures/no_bugs_output.txt")] }
15
15
  let(:projects_input) { File.read("spec/fixtures/projects_input.xml") }
16
16
  let(:projects_output) { [File.read("spec/fixtures/projects_output.txt")] }
17
- let(:project_membr_input) { File.read("spec/fixtures/project_MEMBR_input.xml") }
18
- let(:project_membr_output) { [File.read("spec/fixtures/project_MEMBR_output.txt")] }
17
+ let(:project_rsa_input) { File.read("spec/fixtures/project_RSA_input.xml") }
18
+ let(:project_rsa_output) { [File.read("spec/fixtures/project_RSA_output.txt")] }
19
+ let(:project_rsa_all_input) { File.read("spec/fixtures/RSA_all_input.xml") }
20
+ let(:project_rsa_all_output) { [File.read("spec/fixtures/RSA_all_output.txt")] }
19
21
  let(:cookie) { [File.read("spec/fixtures/cookie.txt")] }
20
22
 
21
23
  it 'tells lita to display the important bug list' do
@@ -46,18 +48,25 @@ describe Lita::Handlers::Youtrack, lita_handler: true do
46
48
  expect(replies).to eq(projects_output)
47
49
  end
48
50
 
49
- it 'tells lita to display specific existing project (MEMBR)' do
50
- allow_any_instance_of(Lita::Handlers::Youtrack).to receive(:call_http) { project_membr_input }
51
- send_command("project MEMBR")
51
+ it 'tells lita to display incomplete issues in specific project (RSA)' do
52
+ allow_any_instance_of(Lita::Handlers::Youtrack).to receive(:call_http) { project_rsa_input }
53
+ send_command("project RSA")
52
54
 
53
- expect(replies).to eq(project_membr_output)
55
+ expect(replies).to eq(project_rsa_output)
56
+ end
57
+
58
+ it 'tells lita to display all issues in specific project (RSA)' do
59
+ allow_any_instance_of(Lita::Handlers::Youtrack).to receive(:call_http) { project_rsa_all_input }
60
+ send_command("project RSA all")
61
+
62
+ expect(replies).to eq(project_rsa_all_output)
54
63
  end
55
64
 
56
65
  it 'tells lita to display warning for non-existant project (asdf)' do
57
66
  allow_any_instance_of(Lita::Handlers::Youtrack).to receive(:call_http) { "" }
58
67
  send_command("project ASDF")
59
68
 
60
- expect(replies).to include("Project not found - type 'lita projects' for list")
69
+ expect(replies).to include("Either project doesn't exist, or it has no issues - type 'lita projects' for list\nShowing only incomplete issues, add an 'all' to see all issues\n")
61
70
  end
62
71
 
63
72
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-youtrack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Weyermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-03 00:00:00.000000000 Z
11
+ date: 2015-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita
@@ -163,7 +163,6 @@ files:
163
163
  - .gitignore
164
164
  - .rspec
165
165
  - .travis.yml
166
- - CHANGELOG.md
167
166
  - CODE_OF_CONDUCT.md
168
167
  - Gemfile
169
168
  - LICENSE.txt
@@ -178,14 +177,16 @@ files:
178
177
  - lib/lita/youtrack/version.rb
179
178
  - lita-youtrack-0.1.0.gem
180
179
  - lita-youtrack.gemspec
180
+ - spec/fixtures/RSA_all_input.xml
181
+ - spec/fixtures/RSA_all_output.txt
181
182
  - spec/fixtures/bugs_input.xml
182
183
  - spec/fixtures/bugs_output.txt
183
184
  - spec/fixtures/bugs_parking_input.xml
184
185
  - spec/fixtures/bugs_parking_output.txt
185
186
  - spec/fixtures/no_bugs_input.xml
186
187
  - spec/fixtures/no_bugs_output.txt
187
- - spec/fixtures/project_MEMBR_input.xml
188
- - spec/fixtures/project_MEMBR_output.txt
188
+ - spec/fixtures/project_RSA_input.xml
189
+ - spec/fixtures/project_RSA_output.txt
189
190
  - spec/fixtures/projects_input.xml
190
191
  - spec/fixtures/projects_output.txt
191
192
  - spec/lita/handlers/youtrack_spec.rb
@@ -217,14 +218,16 @@ signing_key:
217
218
  specification_version: 4
218
219
  summary: This gem allows the use of lita to check the number of bugs listed on youtrack
219
220
  test_files:
221
+ - spec/fixtures/RSA_all_input.xml
222
+ - spec/fixtures/RSA_all_output.txt
220
223
  - spec/fixtures/bugs_input.xml
221
224
  - spec/fixtures/bugs_output.txt
222
225
  - spec/fixtures/bugs_parking_input.xml
223
226
  - spec/fixtures/bugs_parking_output.txt
224
227
  - spec/fixtures/no_bugs_input.xml
225
228
  - spec/fixtures/no_bugs_output.txt
226
- - spec/fixtures/project_MEMBR_input.xml
227
- - spec/fixtures/project_MEMBR_output.txt
229
+ - spec/fixtures/project_RSA_input.xml
230
+ - spec/fixtures/project_RSA_output.txt
228
231
  - spec/fixtures/projects_input.xml
229
232
  - spec/fixtures/projects_output.txt
230
233
  - spec/lita/handlers/youtrack_spec.rb
File without changes
@@ -1,12 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?><issues><issue><field name="AMA_Priorities"><value>Critical</value></field><field name="AMA_Types"><value>Bug</value></field><field name="AMA_States"><value>Done</value></field><field name="AMA_Versions"><value>1.0</value></field><field name="Product Owner"><value>jordan.babe</value></field><field name="numberInProject"><value>1000</value></field><field name="summary"><value>Web Multiple Payments</value></field><field name="description"><value>Several</value></field><field name="created"><value>1425491894396</value></field><field name="updated"><value>1426700393110</value></field><field name="reporterName"><value>Eric.Bach</value></field><field name="updaterName"><value>mathieu.gilbert</value></field><field name="resolved"><value>1426700393107</value></field><field name="watcherName"><value>User: id = 26-21[up-to-date]</value></field><field name="permittedGroup"><value>All Users</value></field><comment author="mathieu.gilbert" text="We disabled overpayment, and IMIS fixed some related things." created="1426700390486"/></issue><issue><field name="AMA_Priorities"><value>Normal</value></field><field name="AMA_Types"><value>Feature</value></field><field name="AMA_States"><value>Parking Lot</value></field><field name="AMA_Versions"><value>1.0</value></field><field name="Product Owner"><value>jordan.babe</value></field><field name="numberInProject"><value>1001</value></field><field name="summary"><value>Updates to include consistent member details in web transactions</value></field><field name="description"><value>There are some minor changes to update for one time payments in the web request to help identify the membership in the Moneris transaction summary
3
-
4
- 2. Set the batchId to the value from the response from NewMembership. This will also be added to the response of GetHousehold for renewals.</value></field><field name="created"><value>1425495018011</value></field><field name="updated"><value>1434579877066</value></field><field name="reporterName"><value>Eric.Bach</value></field><field name="updaterName"><value>darko.dosenovic</value></field><field name="watcherName"><value>User: id = 26-11[up-to-date]</value></field><field name="permittedGroup"><value>All Users</value></field><comment author="darko.dosenovic" text="@jordan.babe &#xA;&#xA;Is this still valid card/issue?" created="1434579877068"/></issue><issue><field name="AMA_Priorities"><value>Normal</value></field><field name="AMA_Types"><value>Bug</value></field><field name="AMA_States"><value>Parking Lot</value></field><field name="AMA_Versions"><value>1.0</value></field><field name="Product Owner"><value>edmund.chua</value></field><field name="numberInProject"><value>1002</value></field><field name="summary"><value>Membership Add Associates page - Clear Family Member selection not working in Internet Explorer</value></field><field name="description"><value>This came from Audrey when she was testing Join:
5
-
6
- "In IE it didn’t show the Clear Family Member selection"
7
-
8
- Ryan verified that this was a bug.</value></field><field name="created"><value>1425576595091</value></field><field name="updated"><value>1429280868750</value></field><field name="reporterName"><value>ruben.estevez</value></field><field name="updaterName"><value>michael.vandenbeuken</value></field><field name="watcherName"><value>User: id = 26-22[up-to-date]</value></field><field name="permittedGroup"><value>All Users</value></field><comment author="mathieu.gilbert" text="RE: Jordan,&#xA;Do we know if was a native IE? or version? I tried the password changing machine and it clears the associate.&#xA;Just forgot to try IE8 standards, will try that.&#xA;Ruben&#xA;" created="1426192246428"/><comment author="mathieu.gilbert" text="RE: Just try on the password changing machine with IE8 standards and the clear family member works.&#xA;We should find a machine with native IE in order to test this." created="1426192260090" updated="1426192246421"/><comment author="michael.vandenbeuken" text="On hold until we find a test machine with native IE8." created="1429280866446"/></issue><issue><field name="AMA_Priorities"><value>Normal</value></field><field name="AMA_Types"><value>Bug</value></field><field name="AMA_States"><value>Done</value></field><field name="AMA_Versions"><value>1.0</value></field><field name="Product Owner"><value>edmund.chua</value></field><field name="numberInProject"><value>1003</value></field><field name="summary"><value>[production][unknown] NoMethodError: undefined method ` automatic_credit_card_renewal=' for #&lt;Membership:0x007f5f6b210df0&gt;</value></field><field name="description"><value>Member with the issue had UTF8 characters in the name. Encoded name caused JSON parsing issues. Mem# 6202722241539008
9
- </value></field><field name="created"><value>1425577564007</value></field><field name="updated"><value>1426005216790</value></field><field name="reporterName"><value>ruben.estevez</value></field><field name="updaterName"><value>ruben.estevez</value></field><field name="resolved"><value>1426005216788</value></field><field name="permittedGroup"><value>All Users</value></field></issue><issue><field name="AMA_Priorities"><value>Minor</value></field><field name="AMA_Types"><value>Feature</value></field><field name="AMA_States"><value>Parking Lot</value></field><field name="AMA_Versions"><value>1.0</value></field><field name="Product Owner"><value>edmund.chua</value></field><field name="numberInProject"><value>1004</value></field><field name="summary"><value>Join/Renew/Promo Forms - phone number formatting ###-###-####</value></field><field name="description"><value>Automatically add dashes to format phone numbers as ###-###-#### to make them easier to read</value></field><field name="created"><value>1425577919486</value></field><field name="updated"><value>1434646303832</value></field><field name="reporterName"><value>ruben.estevez</value></field><field name="updaterName"><value>darko.dosenovic</value></field><field name="watcherName"><value>User: id = 26-11[up-to-date]</value></field><field name="permittedGroup"><value>All Users</value></field><comment author="darko.dosenovic" text="@fred.thompson Follow with Gwyneth for explanation." created="1434646303835"/></issue><issue><field name="AMA_Priorities"><value>Normal</value></field><field name="AMA_Types"><value>Feature</value></field><field name="AMA_States"><value>Backlog</value></field><field name="AMA_Versions"><value>1.0</value></field><field name="Product Owner"><value>jordan.babe</value></field><field name="numberInProject"><value>1005</value></field><field name="summary"><value>Update One Time Payment request with additional parameter</value></field><field name="description"><value>.
10
- </value></field><field name="created"><value>1425929529778</value></field><field name="updated"><value>1434579791230</value></field><field name="reporterName"><value>Eric.Bach</value></field><field name="updaterName"><value>darko.dosenovic</value></field><field name="voterName"><value>ryan.jones</value></field><field name="watcherName"><value>User: id = 26-11[up-to-date]</value></field><field name="permittedGroup"><value>All Users</value></field><comment author="jordan.babe" text="@ryan.jones do we have a physical card for this or did we decide to include it as part of the card I'm currently working on?" created="1426280092413"/><comment author="darko.dosenovic" text="@ryan.jones &#xA;&#xA;What is happenig with this one..." created="1434579791232"/></issue><issue><field name="AMA_Priorities"><value>Critical</value></field><field name="AMA_Types"><value>Bug</value></field><field name="AMA_States"><value>Done</value></field><field name="AMA_Versions"><value>1.0</value></field><field name="Product Owner"><value>edmund.chua</value></field><field name="numberInProject"><value>1006</value></field><field name="summary"><value>Back to Your Account link shouldn't always be visible</value></field><field name="description"><value>Don't display the link when the user is in billing (they'll just get booted back anyways).</value></field><field name="created"><value>1426183549450</value></field><field name="updated"><value>1428423077774</value></field><field name="reporterName"><value>mathieu.gilbert</value></field><field name="updaterName"><value>darko.dosenovic</value></field><field name="resolved"><value>1428423077771</value></field><field name="watcherName"><value>User: id = 26-11[up-to-date]</value><value>User: id = 26-21[up-to-date]</value></field><field name="permittedGroup"><value>All Users</value></field><comment author="mathieu.gilbert" text="Only when forced to renew, they get to have a link when it's optional (in 3 month grace period)." created="1426183779897"/><comment author="mathieu.gilbert" text="Branch: https://github.com/amaabca/membership/tree/no-link-if-renew&#xA;Just needs some manual testing..." created="1427237681976" updated="1426183779892"/><comment author="darko.dosenovic" text="This is deployed live now." created="1428353320565"/></issue><issue><field name="AMA_Priorities"><value>Normal</value></field><field name="AMA_Types"><value>Feature</value></field><field name="AMA_States"><value>Done</value></field><field name="AMA_Versions"><value>1.0</value></field><field name="Product Owner"><value>ryan.jones</value></field><field name="numberInProject"><value>1007</value></field><field name="summary"><value>Save BatchNum in Renewal request</value></field><field name="description"><value>e</value></field><field name="created"><value>1426522396169</value></field><field name="updated"><value>1434645097526</value></field><field name="reporterName"><value>Eric.Bach</value></field><field name="updaterName"><value>darko.dosenovic</value></field><field name="resolved"><value>1434645067935</value></field><field name="watcherName"><value>User: id = 26-11[up-to-date]</value><value>User: id = 26-16[up-to-date]</value></field><field name="permittedGroup"><value>All Users</value></field><comment author="darko.dosenovic" text="@ryan.jones &#xA;&#xA;Is this still valid card/issue?" created="1434579925983"/><comment author="jordan.babe" text="@darko.dosenovic If you do a join locally and tail imis log in the api app you should be able to see if batch number is part of the request: tail -f log/ama_imis_services.log " created="1434581059500"/><comment author="darko.dosenovic" text="@ryan.jones It is implemented. Done." created="1434645097527" updated="1434579925975"/></issue><issue><field name="AMA_Priorities"><value>Normal</value></field><field name="AMA_Types"><value>Bug</value></field><field name="AMA_States"><value>Done</value></field><field name="AMA_Versions"><value>1.0</value></field><field name="Product Owner"><value>edmund.chua</value></field><field name="numberInProject"><value>1008</value></field><field name="summary"><value>Handle generic IMIS Exception</value></field><field name="description"><value></value></field><field name="created"><value>1426775336156</value></field><field name="updated"><value>1429280622946</value></field><field name="reporterName"><value>ryan.jones</value></field><field name="updaterName"><value>michael.vandenbeuken</value></field><field name="resolved"><value>1429280622945</value></field><field name="watcherName"><value>User: id = 26-22[up-to-date]</value></field><field name="permittedGroup"><value>All Users</value></field><comment author="michael.vandenbeuken" text="With these, we handle them gracefully on the user side, but still use notify just so that we know IMIS weirdness is happening, when it's happening. Do we just want to drop the notification?" created="1428951822070"/><comment author="ryan.jones" text="I think it makes it seem like its a new error or something. Maybe we can bring it up at the dev meeting? I (personally) only want to see errors if its a real error (I don't want to see handled errors)." created="1428957085526"/><comment author="michael.vandenbeuken" text="Totally makes sense. I'll look into it to see if it's new." created="1428957194025" updated="1428951822064"/><comment author="michael.vandenbeuken" text="It's old. It's the type of error we get when iMIS is toast like during a deployment. I have removed notifications for any errors that are being gracefully handled, with the exception of:&#xA;&#xA;1. An error with a stacktrace, because that is indicative of a malfunctioning system in iMIS.&#xA;2. CancelPreauthorization/VoidPurchase errors. We will continue to receive notifications until we receive/implement endpoints that can cancel or void.&#xA;&#xA;Resolved by https://github.com/amaabca/membership/pull/106." created="1429021981783" updated="1428957194021"/><comment author="michael.vandenbeuken" text="Resolved by https://github.com/amaabca/membership/pull/106. Merged and deployed. Closing bug." created="1429280620800" updated="1429021981779"/></issue><issue><field name="AMA_Priorities"><value>Normal</value></field><field name="AMA_Types"><value>Bug</value></field><field name="AMA_States"><value>Done</value></field><field name="AMA_Versions"><value>1.0</value></field><field name="Product Owner"><value>edmund.chua</value></field><field name="numberInProject"><value>1009</value></field><field name="summary"><value>Handle VoidPurchase Exception</value></field><field name="description"><value>#45 Imis::Exception::VoidPurchase: {"Validation":{"Action":"VoidPurchase","Description":"IMIS Payment Failed. MONERIS Purchase is NOT Cancelled. Please Void the Purchase.","ExceptionMessage":"Message: Preauth/Purchase with a CC that is deleted.”}}
11
-
12
- https://rollbar.com/web.support/prod-Membership/items/45/</value></field><field name="created"><value>1426775362900</value></field><field name="updated"><value>1429280647820</value></field><field name="reporterName"><value>ryan.jones</value></field><field name="updaterName"><value>michael.vandenbeuken</value></field><field name="resolved"><value>1429280647818</value></field><field name="watcherName"><value>User: id = 26-22[up-to-date]</value></field><field name="permittedGroup"><value>All Users</value></field><comment author="michael.vandenbeuken" text="Resolved by https://github.com/amaabca/membership/pull/106. Merged and deployed. Closing bug." created="1429280644288"/></issue></issues>
@@ -1,10 +0,0 @@
1
- Web Multiple Payments - www.sampleyoutrackhost.com/issue/MEMBR-1000
2
- Updates to include consistent member details in web transactions - www.sampleyoutrackhost.com/issue/MEMBR-1001
3
- Membership Add Associates page - Clear Family Member selection not working in Internet Explorer - www.sampleyoutrackhost.com/issue/MEMBR-1002
4
- [production][unknown] NoMethodError: undefined method ` automatic_credit_card_renewal=' for #&lt;Membership:0x007f5f6b210df0&gt; - www.sampleyoutrackhost.com/issue/MEMBR-1003
5
- Join/Renew/Promo Forms - phone number formatting ###-###-#### - www.sampleyoutrackhost.com/issue/MEMBR-1004
6
- Update One Time Payment request with additional parameter - www.sampleyoutrackhost.com/issue/MEMBR-1005
7
- Back to Your Account link shouldn't always be visible - www.sampleyoutrackhost.com/issue/MEMBR-1006
8
- Save BatchNum in Renewal request - www.sampleyoutrackhost.com/issue/MEMBR-1007
9
- Handle generic IMIS Exception - www.sampleyoutrackhost.com/issue/MEMBR-1008
10
- Handle VoidPurchase Exception - www.sampleyoutrackhost.com/issue/MEMBR-1009