cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

MKS154475: Using im issues with queryDefinition in GUI URL option

ME_10737912
7-Bedrock

MKS154475: Using im issues with queryDefinition in GUI URL option

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

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

1 REPLY 1

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

Announcements


Top Tags