asana_create_task_story
Add comments or formatted stories to Asana tasks using plain text or limited HTML formatting to provide updates, context, or feedback directly within task workflows.
Instructions
Create a comment or story on a task. Either text or html_text is required.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
html_text | No | HTML-like formatted text for the comment. Required if text is not provided. Does not support ALL HTML tags. Only a subset. The only allowed TAG in the HTML are: <body> <h1> <h2> <ol> <ul> <li> <strong> <em> <u> <s> <code> <pre> <blockquote> <a data-asana-type="" data-asana-gid=""> <hr> <img> <table> <tr> <td>. No other tags are allowed. Use the \n to create a newline. Do not use \n after <body>. | |
opt_fields | No | Comma-separated list of optional fields to include | |
task_id | Yes | The task ID to add the story to | |
text | No | The plain text content of the story/comment. Required if html_text is not provided. |
Input Schema (JSON Schema)
{
"properties": {
"html_text": {
"description": "HTML-like formatted text for the comment. Required if text is not provided. Does not support ALL HTML tags. Only a subset. The only allowed TAG in the HTML are: <body> <h1> <h2> <ol> <ul> <li> <strong> <em> <u> <s> <code> <pre> <blockquote> <a data-asana-type=\"\" data-asana-gid=\"\"> <hr> <img> <table> <tr> <td>. No other tags are allowed. Use the \\n to create a newline. Do not use \\n after <body>.",
"type": "string"
},
"opt_fields": {
"description": "Comma-separated list of optional fields to include",
"type": "string"
},
"task_id": {
"description": "The task ID to add the story to",
"type": "string"
},
"text": {
"description": "The plain text content of the story/comment. Required if html_text is not provided.",
"type": "string"
}
},
"required": [
"task_id"
],
"type": "object"
}