List news
list_newsList project news sorted newest first. Get recent announcements, obtain IDs for editing or deleting entries, and check whether a report has already been published.
Instructions
List project news — the announcements a team publishes on its project overview.
Use it to answer "what was announced recently", to find the id of an entry before reading, editing or deleting it, or to check whether a report was already published. Results come back newest first (sorted by creation date descending).
Returns the standard list envelope: items of {id, title, summary, project, author, created_at, can_manage} plus pagination and notes. Rows carry the
short summary only — the full markdown body is fetched per entry with
get_news(news_id=...), which keeps a long announcement out of a listing.
can_manage tells you in advance whether update_news/delete_news would be
allowed for that row.
Pitfalls: news is only visible where the project has the news module enabled and this
account holds the 'view news' permission, and neither absence is an error — an empty
page carries a notes entry saying so, and reporting "this project has no
announcements" without reading it would be wrong. The project scope is matched by
numeric id; an identifier is resolved with one extra lookup, so an unknown identifier
fails as not_found rather than silently listing the whole instance.
Cross-references: get_news for the full body of one entry; create_news to
publish one; list_projects for project ids; work-package discussion lives in
list_work_package_comments, not here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. | |
| page_size | No | News entries per page (max 100). | |
| project_id | No | Numeric project id (or URL identifier, resolved for you) to list only that project's announcements. Comes from list_projects. Omit it for every announcement visible to you across the instance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sums | No | Present only when show_sums was requested. | |
| items | No | The page of results. | |
| notes | No | Degradation markers: capped aggregations, unavailable modules, … | |
| groups | No | Present only when group_by was requested. | |
| pagination | Yes | Total/page/page_size/has_more. |