Moving requirement using REST API

Monday, January 16, 2017 1:17:51 PM
Hi,

Consider the following requirement structure:

req1
    req2
        req4
    req3
        req5

req3 needs to be moved to same level as req1, which is the highest level, no parent.

Intended sctructure:

req1
    req2
        req4
req3
    req5

How is this possible using the REST API?

projects/{project_id}/requirements/{requirement_id}/move/{destination_requirement_id} doesn't seem to allow 0 or null destination requirement.

BR,
  Juho

2 Replies
Friday, January 20, 2017 3:42:31 PM
Avatar
re: juhhov on Monday, January 16, 2017 1:17:51 PM
Hi Juho

Have you tried leaving it blank (i.e. just a trailing slash).

If that doesn't work, please submit a help desk ticket.

Regards

Jim
Monday, January 23, 2017 8:43:31 AM
Avatar
re: inflectra.jimx on Friday, January 20, 2017
That doesn't work either.

"Endpoint not found."

Br,
  Juho
Statistics
  • Started: Monday, January 16, 2017 1:17:51 PM
  • Last Reply: Monday, January 23, 2017 8:43:31 AM
  • Replies: 2
  • Views: 320