•  
     
    story #11900 have a REST API to add value in select boxes
Summary
Empty
have a REST API to add value in select boxes

Because it was useful in soap (addSelectBoxFieldValues)

Add a new route

OPTION|PATCH /trackers_fields/:id
{
    "new_values": [
        "valueA", "valueB", ...
    ]
}

Limitations

  • This route can only be used by tracker administrators and upper (project admin, etc)
  • It only works on tracker that are active in active projects
  • It only works on "selectbox" like fields (selectbox, multi-select box, radio, checkboxes)
  • It only works on list fields bound to static list of values
  • It can only add new values (without color decorators)
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#11900
Manuel Vacelet (vaceletm)
2018-07-25 15:10
2018-07-23 12:08
4353

References

Follow-ups

User avatar
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes