Skip to content

Update a post

Introduction

The FeatureOS update post API allows you to update a post in your organization.

PUT https://api.featureos.app/api/v3/feature_requests/:id

Headers

Parameter Default Description
API-KEY-Generate from organization settings on the admin dashboard.
ALLOW-PRIVATEfalseSet to true if filtering out a private board’s posts.
Authorization-Generate a unique JWT token that is specific to a user

Body Parameters

Parameter Format Description
titleStringThe title of the post. Also used to generate the slug.
descriptionTextThe description of the post. HTML is allowed.
attachments[]FileUpload up to 5 images that will be added to the end of the description. Each image can be either a 'jpeg', 'jpg', 'png' or 'gif' file and a max size of 10 MB.
bucket_idIntegerThe ID of the bucket returned in the list buckets endpoint. Needs ALLOW-PRIVATE header to be set if it is a private board ID.
approval_statusStringapproved - To approve the post, pending - To move the post to pending
state_idIntegerCustom status ID. The ID of the state returned in the organization's info endpoint.
statusStringclosed - To close and approve the post. For updating other statuses, use the "state_id" parameter. Soon this will be deprecated.
jira_issue_idStringThe Jira issue ID that needs to be linked to the post. Check the linked_resource_details object for the requested jira issue linking status.
score_typeStringThe scoring method to use. Options: value_vs_effort or rice
valueStringValue score (1-5) when using value_vs_effort scoring method
effortStringEffort score (1-5) when using value_vs_effort scoring method
effort_riceStringEffort score when using rice scoring method
impactStringImpact score when using rice scoring method
reachStringReach score when using rice scoring method
confidenceStringConfidence score when using rice scoring method

Sample response

{
"id": 4230,
"slug": "good-bye-world",
"title": "Good bye world",
"preview": "",
"description": null,
"description_html": null,
"status": "Submitted",
"url": "https://feedback.featureos.app/b/api/p/good-bye-world",
"approval_status": "approved",
"submitter": {
"name": "Swathy",
"email": "[email protected]"
},
"bucket": {
"id": 14,
"name": "API"
},
"votes_count": 0,
"downvotes_count": 0,
"comments_count": 0,
"created_at": "2021-10-21T10:58:30.000Z",
"updated_at": "2021-10-21T10:58:31.000Z",
"tags": [],
"custom_status": {
"title": "In Progress",
"color": "#000000",
"status": "in_progress",
"percentage": null,
"icon": null
},
"linked_resource_details": {
"success_data": [
{
"source": "jira",
"issue_id": "123",
"title": "jira",
"url": "https://jira.com/issue/123"
}
],
"errors_data": [
{
"source": "jira",
"error": "Error fetching issue"
}
]
},
"score": {
"aggregate": 5.0,
"score_type": "value_vs_effort",
"value": 5.0,
"effort": 1.0
}
}

Note: The score object in the response will vary based on the scoring method used:

  • For value_vs_effort scoring:
"score": {
"aggregate": 5.0,
"score_type": "value_vs_effort",
"value": 5.0,
"effort": 1.0
}
  • For rice scoring:
"score": {
"aggregate": 10.0,
"score_type": "rice",
"reach": 4.0,
"impact": 1.0,
"confidence": 5.0,
"effort_rice": 2.0
}