Class DetailViewFieldResource

java.lang.Object
com.atlassian.greenhopper.web.AbstractResource
com.atlassian.greenhopper.web.rapid.view.detailview.DetailViewFieldResource

@Path("detailviewfield/{rapidViewId}") @Consumes("application/json") @Produces("application/json") public class DetailViewFieldResource extends AbstractResource
REST resource to facilitate configuration of Detail View Fields. Follows the pattern of RESTful table resources.
Since:
v6.0.3
  • Constructor Details

  • Method Details

    • getAvailableDetailViewFields

      @GET @Path("available") public javax.ws.rs.core.Response getAvailableDetailViewFields(@PathParam("rapidViewId") Long rapidViewId)
    • getConfiguredDetailViewFields

      @GET @Path("configured") public javax.ws.rs.core.Response getConfiguredDetailViewFields(@PathParam("rapidViewId") Long rapidViewId)
    • addDetailViewField

      @POST @Path("field") public javax.ws.rs.core.Response addDetailViewField(@PathParam("rapidViewId") Long rapidViewId, com.atlassian.greenhopper.web.rapid.view.detailview.DetailViewFieldResource.AddDetailFieldRequest request)
      Add a detail view field to the rapid view's configuration. The field is added as the first field in the list
    • deleteDetailViewField

      @DELETE @Path("field/{detailViewFieldId}") public javax.ws.rs.core.Response deleteDetailViewField(@PathParam("rapidViewId") Long rapidViewId, @PathParam("detailViewFieldId") Long detailViewFieldId)
      Delete a field from a rapid view's detail view fields.
    • moveDetailViewField

      @POST @Path("field/{detailViewFieldId}/move") public javax.ws.rs.core.Response moveDetailViewField(@PathParam("rapidViewId") Long rapidViewId, @PathParam("detailViewFieldId") Long detailViewFieldId, EntryMoveModel moveModel)
      Modify the sequence of detail view fields for a rapid view. NOTE: We only implement position=FIRST and after=... parameters. The alternative field value pairs:
      position
      An absolute position, which may have a value of 'First', 'Last', 'Earlier' or 'Later'
      after
      An item to place this item after. The value should be the self link of another item