View Issue Details

IDProjectCategoryView StatusLast Update
0025397mantisbtapi restpublic2019-02-08 06:01
Reportereternalstorms Assigned Tocommunity  
PrioritynoneSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
PlatformiMac 5k, 2017OSmacOSOS Version10.14.2 (18C54)
Product Version2.18.0 
Summary0025397: Be able to create projects as subprojects
Description

We should be able to create new projects as sub projects of other projects.
I have tried by chance to do so, but either it's already in and just not documented, or it's not implemented yet at all.

There should be a "parent_id" parameter in the REST API payload, or something like that, just to specify what project the newly created project should be a subproject of.

Additional Information

https://documenter.getpostman.com/view/29959/mantis-bug-tracker-rest-api/7Lt6zkP#16677869-82ac-50a0-e69f-c33986fbcf5f

TagsNo tags attached.

Relationships

related to 0025400 closedcommunity Allow adding/updating/deleting subprojects via REST API 

Activities

obmsch

obmsch

2019-01-29 18:10

reporter   ~0061326

That might look conveniant, and I am not at all against it, but that wouldn't be sufficient anyway.
A project can be a subproject of more than one project. So expanding the rest api (projects) with
"Add subproject" (alike "Add version") makes a lot of more sense.
Ok, that's two api calls against possibly one. But I can't see a use case, where this would be a
real issue.
I'll provide a pr soon.

eternalstorms

eternalstorms

2019-01-30 04:37

reporter   ~0061329

Last edited: 2019-01-30 04:38

PR by @obmsch: https://github.com/mantisbt/mantisbt/pull/1453

eternalstorms

eternalstorms

2019-02-08 05:21

reporter   ~0061449

thank you, @obmsch, by the way ;)

eternalstorms

eternalstorms

2019-02-08 05:21

reporter   ~0061450

thank you, @obmsch, by the way ;)

eternalstorms

eternalstorms

2019-02-08 05:22

reporter   ~0061451

thank you, @obmsch, by the way ;)