The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Universal link to all requests of specific type

SOLVED
Go to solution
Highlighted
Łukasz Czech
Collector

Universal link to all requests of specific type

Hi,

I have some difficulties in creating universal (PPM environment independent) link to requests of specific type (e.g. Issues). I copy and modify link from 'Search request' and have such link:
http://hostname:8080/itg/web/knta/crt/RequestSearchResults.jsp?INCLUDE_CLOSED=Y&REQUEST_TYPE_IDHV=5.20.30341.GEMB+-+Project+Issue&LINK_PROJECT=32901

I can use token for hostname, I can use subquery for request id (30341) using it's name (GEMB - Project Issue).
The only problem is the first part of the value of REQUEST_TYPE_IDHV parameter "5.20."
I have no idea how it is created and how can be obtained.

I have checked it and on different environment this part of parameter value is different "5.13.".

Any ideas on how to get this link generated?
I've tried to use REQUEST_TYPE_NAME parameter in URL:
http://3.193.189.185:8080/itg/web/knta/crt/RequestSearchResults.jsp?INCLUDE_CLOSED=Y&REQUEST_TYPE_NAME=GEMB+-+Project+Issue&PROJECT_ID=32901&LINK_PROJECT=32901
But it show all requests types for specified project.

Best regards
Łukasz Czech
3 REPLIES
Sascha Mohr_1
Esteemed Contributor
Solution

Re: Universal link to all requests of specific type

It's the lenght of the ID and the name in characters (5 for the ID, 20 for the name).
Took me quite a while to figure this out too.
Łukasz Czech
Collector

Re: Universal link to all requests of specific type

Wow, that is quite surprising. But it is working. Thank you Sascha.
Łukasz Czech
Collector

Re: Universal link to all requests of specific type

Closing
//Add this to "OnDomLoad" event