Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello,
The "im issues" command with queryDefinition (producing a user-defined query or a quick query) works in these two cases:
WEB URL: http://server/im/issues?queryDefinition=%28field%5BID%5D=448471%29
CLI: im issues --queryDefinition=(field[ID]=448471)
But not in the GUI URL case (error MKS154475 Incorrect URL format is generated):
integrity://server/im/issues?queryDefinition=%28field%5BID%5D=448471%29
I saw here that may be double encoding is required, so I tried this:
integrity://server/im/issues?queryDefinition=%2528field%255BID%255D=448471%2529
but it still generates error MKS154475 Incorrect URL format.
Appreciating your support.
Mohamed
Solved! Go to Solution.
After some trials and errors found the solution, the "=" sign in the queryDefinition section must be also encoded for the GUI URL to work.
integrity://server/im/issues?queryDefinition=%28field%5BID%5D%3D448471%29
For WEB URL, encoding it or leaving it unencoded works (hence the confusion).
http://server/im/issues?queryDefinition=%28field%5BID%5D=448471%29
http://server/im/issues?queryDefinition=%28field%5BID%5D%3D448471%29
Mohamed
After some trials and errors found the solution, the "=" sign in the queryDefinition section must be also encoded for the GUI URL to work.
integrity://server/im/issues?queryDefinition=%28field%5BID%5D%3D448471%29
For WEB URL, encoding it or leaving it unencoded works (hence the confusion).
http://server/im/issues?queryDefinition=%28field%5BID%5D=448471%29
http://server/im/issues?queryDefinition=%28field%5BID%5D%3D448471%29
Mohamed