# How can I get the topic status

**URL:** https://meta.discourse.org/t/how-can-i-get-the-topic-status/50180
**Category:** Development
**Created:** [2016年九月15日 08:32 UTC](https://meta.discourse.org/t/how-can-i-get-the-topic-status/50180 "2016-09-15T08:32:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kgish](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgish/32/121131_2.png) [@kgish](https://meta.discourse.org/u/kgish)
#### Post date: [2016年九月15日 08:32 UTC](https://meta.discourse.org/t/how-can-i-get-the-topic-status/50180/1 "2016-09-15T08:32:21Z")

</div>

How can I get the topic status?

I see that the method `topic.closed?` is available, but I’d like to get the status string back.

Similar to `topic.category.name`.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2016年九月15日 15:07 UTC](https://meta.discourse.org/t/how-can-i-get-the-topic-status/50180/2 "2016-09-15T15:07:21Z")

</div>

The problem is that topics can have multiple statuses. For example a topic can be closed AND deleted. It can be invisible AND closed, etc.
