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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

createcontent with subsequent im issues doesn't find the created content

ckirsch-2
10-Marble

createcontent with subsequent im issues doesn't find the created content

Hello,

i am creating requirements from Java API with a createcontent command. The command succeeds and I can read the ID of the created item with

     newID = response.getResult().getPrimaryValue().getId();

I can see the created content in the requirements document, also.

But if a try to find the new item from Java with a command like

     im issues --fields=... --queryDefinition=...

the item is not found when the command is run soon after the createcontent command.

If I stop the java program in the debugger and wait for 30 seconds (or something like that), then the item is found.

Also, if I stop the java program and start it again, then the already existing item is found with the same issues command.

Why is the new created content visible in the document shown by the Integrity client, but is not found by the issues command?

Do I have to flush a cash or something like that? Or release the CmdRunner and create a new one?

Hint: I am using a local integration point with the common session.

0 REPLIES 0
Announcements


Top Tags