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 +4 -4
- data/README.md +5 -1
- data/lib/lita/handlers/youtrack.rb +18 -8
- data/lib/lita/youtrack/version.rb +1 -1
- data/lita-youtrack-0.1.0.gem +0 -0
- data/spec/fixtures/RSA_all_input.xml +5 -0
- data/spec/fixtures/RSA_all_output.txt +5 -0
- data/spec/fixtures/project_RSA_input.xml +4 -0
- data/spec/fixtures/project_RSA_output.txt +4 -0
- data/spec/lita/handlers/youtrack_spec.rb +16 -7
- metadata +10 -7
- data/CHANGELOG.md +0 -0
- data/spec/fixtures/project_MEMBR_input.xml +0 -12
- data/spec/fixtures/project_MEMBR_output.txt +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f0d3ddca244d477e0d53a0c7c688dd84afe4ee5
|
4
|
+
data.tar.gz: d4fa6653c58bbbf36db11e457761f7e36ba2e174
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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+)
|
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
|
-
|
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 =
|
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
|
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
|
64
|
-
|
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] = "
|
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
|
|
data/lita-youtrack-0.1.0.gem
CHANGED
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<mailto:trevor.nonay@ama.ab.ca> | www.ama.ab.ca&lt;http://www.ama.ab.ca/&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 ; )

"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.
-	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!


How can I go about getting this prioritized?"


Regards,
Trevor
" 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.

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.

Based on a brief read, it appears that the times they want are times from the PTA table, and that there are "Primary" 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 "Primary".

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.

When: 11:15 AM - 12:00 PM May 27, 2015 
Subject: Discuss RSA Wait Time Display on ARR
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.

Calgary: 2/22
Edmonton: 1/11
" 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 & 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 & 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:

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. 

You can still reach us by phone for Roadside Assistance by calling 1-800-222-4357. 

We apologize for the inconvenience.

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.
" shownForIssueAuthor="false" created="1434126501905"><replies/></comment><comment id="98-753" author="darko.dosenovic" authorFullName="darko.dosenovic" issueId="RSA-1004" deleted="false" text="@rod.hodgson 

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 & 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 & 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 & 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(:
|
18
|
-
let(:
|
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
|
50
|
-
allow_any_instance_of(Lita::Handlers::Youtrack).to receive(:call_http) {
|
51
|
-
send_command("project
|
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(
|
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("
|
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.
|
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-
|
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/
|
188
|
-
- spec/fixtures/
|
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/
|
227
|
-
- spec/fixtures/
|
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
|
data/CHANGELOG.md
DELETED
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 

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,
Do we know if was a native IE? or version? I tried the password changing machine and it clears the associate.
Just forgot to try IE8 standards, will try that.
Ruben
" created="1426192246428"/><comment author="mathieu.gilbert" text="RE: Just try on the password changing machine with IE8 standards and the clear family member works.
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 #<Membership:0x007f5f6b210df0></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 

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
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 

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:

1. An error with a stacktrace, because that is indicative of a malfunctioning system in iMIS.
2. CancelPreauthorization/VoidPurchase errors. We will continue to receive notifications until we receive/implement endpoints that can cancel or void.

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 #<Membership:0x007f5f6b210df0> - 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
|