Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[closed] How does RTC redirect an OSLC work item URL to the UI editor for the work item?

When a Jazz application such as Rational DOORS Next Generation has a Requirement that has an implementedBy link to an RTC WorkItem, hovering over the link displays the OSLC resource URI for the work item (in the browser status bar), something like: https://<host>:9443/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/<id>. If you put that URI into Poster and do a GET with the Accept header set to application/rdf+xml, you'll get back and RDF representation of the work item resource.

However, if you do a GET with Accept set to application/html, you get 406 Not Acceptable.

When a user clicks on the work item link in RDNG however, or if you paste the work item OSLC URI into the browser's address window, you will be redirected to the RTC UI for the work item, something like: https://<host>:9443/ccm/web/projects/Low%20Flow%20Washer%20%28Change%20Management%29#action=com.ibm.team.workitem.viewWorkItem&id=3

How is this redirection done? What headers are required to tell RTC to redirect to the work item UI and not attempt to generate a pretty HTML version of the RDF resource? What is the protocol convention for dealing with single sign-on?

0 votes


The question has been closed for the following reason: "The question is answered, right answer was accepted" by davidhoney Jul 24 '23, 9:24 a.m.

Accepted answer

Permanent link

 If you do a GET on an OSLC work item URL with no accept header, RTC will send an HMTL document that has a meta tag to redirect the browser to the RTC UI for the work item.



Ralph Schoon selected this answer as the correct answer

0 votes


One other answer

Permanent link
Try this

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="refresh" content="0; url=https://<host>:9443/ccm/web/projects/Low%20Flow%20Washer%20%28Change%20Management%29#action=com.ibm.team.workitem.viewWorkItem&id=3">
</head>
<body>
  Redirecting...
</body>
</html>

0 votes

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 516

Question asked: May 17 '17, 1:11 p.m.

Question was seen: 2,864 times

Last updated: Jul 24 '23, 9:24 a.m.

Confirmation Cancel Confirm