cancel
Showing results for 
Search instead for 
Did you mean: 

REST and tasks with candidateOrAssigned parameter

martin_grunberg
Champ in-the-making
Champ in-the-making
Hi,

The user guide states that it should be possible to use candidateOrAssigned parameter with tasks. However the the parameter is not applied-all tasks are returned.

For example runtime/tasks?candidateOrAssigned=kermit yields the same results as runtime/tasks?candidateOrAssigned=fozzy.
Looking at the code I cannot see the candidateOrAssigned parameter option in TaskCollectionResource.getTasks()

Am I missing something or is it a bug?

Br.
Martin
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Martin,

Which version do you use?

I have found


    if(names.contains("candidateOrAssigned")) {
      request.setCandidateOrAssigned(getQueryParameter("candidateOrAssigned", query));
    }


in 5.16 (I am using snapshot version so may be I am missing something)

Regards
Martin

martin_grunberg
Champ in-the-making
Champ in-the-making
I 'm using 5.15.1.
It looks like it is fixed in 5.17 that is in repo. So case closed Smiley Happy

Martin