Fetch Issue Attachments with .Net API

Added by Shefali Gandhi 11 months ago

I have integrated redmine with my .Net website and I am fetching issues from redmine with redmine-net451-api
All working fine but when I am fetching single issue I don't can find attachment in issue object

Here is my code :

var ProjectParams = new NameValueCollection { { RedmineKeys.PROJECT_ID, projectId }, { RedmineKeys.ISSUE_ID, issueId.ToString() }, { RedmineKeys.STATUS_ID, RedmineKeys.ALL }, { RedmineKeys.INCLUDE, RedmineKeys.ATTACHMENTS } };

Issue projectIssue = manager.GetObjects<Issue>(ProjectParams).FirstOrDefault();

Please help me for this issue

I want to show uploaded file for issues