Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "RT Help"

From EGIWiki
Jump to navigation Jump to search
 
Line 46: Line 46:
=== RT REST API ===
=== RT REST API ===


[http://requesttracker.wikia.com/wiki/REST RT REST API manual]
[https://rt-wiki.bestpractical.com/wiki/REST RT REST API manual]


1) Querying tickets example - build your query and get the list of tickets:
1) Querying tickets example - build your query and get the list of tickets:

Latest revision as of 11:31, 20 December 2016


Requirements Queue

User Support

Requirements Submitting and Tracking - Requirements_Tracking

Operations

How to submit requirements - Submit_Operations_Requirements

About Request Tracker (RT)

Useful links about RT:

Keyword Search

Keyword based ticket search with Firefox browser

Create New Bookmark using these instructions (Firefox 3.6.18):

1) go to Firefox menu item "Bookmarks"

2) choose "Organize Bookmarks"

3) choose "Bookmarks Menu"

4) right click on "Bookmarks Menu" -> "New Folder..." and fill the details provided below:

Location: https://rt.egi.eu/guest/Search/Results.html?Query=Queue%3D'requirements'AND(SubjectLIKE'%s'ORContentLIKE'%s')

Keyword: rt (you can change this to your desired word)

Note: The query used in 'location' is to search only inside of 'requirements' queue, if you want to search across all RT queues, remove that part 'Queue %3D 'requirements' AND' from the query or change to another queue name.

Now you can search rt by typing 'rt [some keywords]' in the address bar of Firefox and you will get matches against 'Subject' and 'Content' of the ticket.

RT REST API

RT REST API manual

1) Querying tickets example - build your query and get the list of tickets:

Publicly accessible URL example

https://rt.egi.eu/guest/REST/1.0/search/ticket?query=Queue%20=%20%27requirements%27%20AND%20(%20%20%27CF.{Requestor%20(level%202)}%27%20=%20%27WeNMR%20(Community)%27%20OR%20%27CF.{Requestor%20(level%203)}%27%20=%20%27enmr.eu%27%20)

More complex query through guest REST:

https://rt.egi.eu/guest/REST/1.0/search/ticket?query=Queue%20=%20%27requirements%27%20AND%20%28%20%20%27CF.{Requestor%20%28level%202%29}%27%20=%20%27WeNMR%20%28Community%29%27%20OR%20%27CF.{Requestor%20%28level%203%29}%27%20=%20%27enmr.eu%27%20%29%20AND%20%28%20%20Status%20=%20%27open%27%20OR%20Status%20=%20%27new%27%20OR%20Status%20=%20%27accepted%27%20OR%20Status%20=%20%27stalled%27%20%29&format=s

SSO accessible URL example:

https://rt.egi.eu/rt/REST/1.0/search/ticket?query=Queue=%27requirements%27

Output

RT/3.8.7 200 Ok

667: Authentication and authorization
669: Encryption and protection of data
1239: Data recovery (WeNMR)
1550: Graphical configuration tool for gLite
1742: lcg-cp - background replication to other SEs (WeNMR)
2560: man pages for grid commands
2561: EGI bubble help on EGI web sites

2) Data formats:

i - displays ticket/<ticket-id>
s - displays <ticket-id>: <ticket-subject>
l - displays multi-line format (Full ticket details without content)

format=i
format=s
format=l

RT RSS

Example: Firefox "Live Bookmarks"