View Issue Details

IDProjectCategoryView StatusLast Update
0023143mantisbtapi restpublic2017-09-03 18:41
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version2.5.1 
Target Version2.6.0Fixed in Version2.6.0 
Summary0023143: Support adding notes via REST API
Description

Support adding simple notes via REST API including text, reporter, and view state.

TagsNo tags attached.

Relationships

child of 0022786 assignedvboctor Support CRUD operations for issue notes 

Activities

vboctor

vboctor

2017-07-23 14:49

manager   ~0057304

Last edited: 2017-07-23 14:49

Sample Usage:

METHOD: POST
URL: /api/rest/issues/21923/notes
BODY:
{
  "text": "This is a test rest issue",
  "view_state": {
    "name": "private"
  },
  "reporter": {
    "name": "vboctor"
  }
}

The response returns the full added note and updated issue.

vboctor

vboctor

2017-07-23 15:13

manager   ~0057306

PR: https://github.com/mantisbt/mantisbt/pull/1132

Related Changesets

MantisBT: master 39219bd9

2017-07-23 10:46

vboctor


Details Diff
Support adding issue notes

Support adding a note while specifying text, reporter, and view state.

Fixes 0023143
Affected Issues
0023143
mod - api/rest/restcore/issues_rest.php Diff File
mod - api/soap/mc_issue_api.php Diff File