It's all about the answers!

Ask a question

scm export code-review command results with Next page token

vinitha dsouza (14719122) | asked Nov 08 '17, 5:43 a.m.
edited Jan 11 '19, 3:50 p.m. by David Lafreniere (4.8k7)

Dear Team,

We are using below scm command part of SCM Tools,

scm export code-review [options] <queryId><outputFile>

I have query with 100+ Tasks which has Approvals and Findings, which is then passed to above scm command.

Below is the part of JSON response which has,

     nextPageToken": "100",

    "workItemQuery": "_h9j6wMRjEeel-PRW6PCzQg"

My query is ,

1. Usually when we fire OSLC Query we will have next page token and URL as well. But in above case i dont see any URL and SCM command reference also doesnt say anything about it.

2. Could you please answer how to get the next result set or what is importance of NextPagetoken here.


Accepted answer

permanent link
Shashikant Padur (4.2k27) | answered Nov 09 '17, 1:23 a.m.

The nextPageToken and workItemQuery shouldn't have been a part of the output. I think it is an internal implementation detail.

If you are not able to get more than 100 tasks then you should open a defect.

vinitha dsouza selected this answer as the correct answer

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.