Project

General

Profile

Actions

Defect #28228

closed

REST API Parameter GET /issues.json?assigned_to_id=me doesn't work

Added by vishal gohil about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

I want to query only for Issues which are assigned to one user.
Example Redmine-User-Login ist "vishal-px"
so I hoped that GET /issues.json?assigned_to_id=me will deliver issues assigned to vishal-px
Even if I try GET /issues.json?assigned_to_id=342710 it doesn't work.
It always returns the blank response.

{
   issues: [ ],
   total_count: 0,
   offset: 0,
   limit: 25
}

Is there any solution for this bug?

regards
Vishal

Actions #1

Updated by Mischa The Evil about 6 years ago

  • Status changed from New to Closed
  • Priority changed from Urgent to Normal
  • Resolution set to Cant reproduce

Both types of request are working correctly on source:/branches/3.4-stable@17205. I can't reproduce your issue. It looks like you are not doing authentication right, see Rest_api#Authentication.

As we don't provide support through issues, I'll close this issue. If you have further questions, please ask them in the forums (and see submissions and How to request help for some guidance).

Actions #2

Updated by vishal gohil about 6 years ago

Thank you Mischa The Evil, After setup of Basic authentication, my problem is solved.

Actions

Also available in: Atom PDF