branch: externals/rt-liberation
commit 0cfaa45ca4545904c44184e20c49c368e12d48b3
Merge: 20bf7cc e3cc2f5
Author: Yoni Rabkin <[email protected]>
Commit: Yoni Rabkin <[email protected]>
Merge branch 'report'
---
rt-liberation-report.el | 1 +
rt-liberation.el | 9 +++------
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/rt-liberation-report.el b/rt-liberation-report.el
index da1a703..ded3a50 100644
--- a/rt-liberation-report.el
+++ b/rt-liberation-report.el
@@ -147,4 +147,5 @@ return `nil'."
(provide 'rt-liberation-report)
+
;;; rt-liberation-report.el ends here.
diff --git a/rt-liberation.el b/rt-liberation.el
index 1a62a70..e172b42 100644
--- a/rt-liberation.el
+++ b/rt-liberation.el
@@ -52,6 +52,9 @@
(defvar rt-liber-created-string "Created"
"String representation of \"created\" query tag.")
+(defvar rt-liber-resolved-string "Resolved"
+ "String representation of \"resolved\" query tag.")
+
(defvar rt-liber-base-url ""
"Base url for ticket display.")
@@ -435,12 +438,6 @@ AFTER date after predicate."
;;; Ticket retriever
;;; --------------------------------------------------------
-;; Implementation note: Working with 3.8.1 or 3.8.2 of the RT CLI
-;; makes a huge difference here. 3.8.1 returns a kind of listing of
-;; the history ID objects which requires further processing. 3.8.2 on
-;; the other hand returns the contents of all the ticket history
-;; objects in one fell swoop.
-
(defun rt-liber-create-ticket-history-string (ticket-id)
"Create a query for TICKET-ID to retrieve all history objects."
(concat "ticket/" ticket-id "/history/id"))