Cases Object


The cases object is a list of cases for the logged in user. The cases is loaded from the below URL.

https://support.supportbench.net/cases/

If the user is not logged in, then the object will be null.

To retrive the cases, you can access it by calling it directly within a tag.

{% for case in sb.cases %}
 {{ case.subject}}
{% endfor %}

id

Returns the id of the case.

 

subject

Returns the subject of the case.

 

summary

Returns the summary of the case.

 

status

Returns the status name of the case.

 

status_id

Returns the status id of the case.  0 = closed, all other states are active.

 

status_order

Returns the status order number.

 

activity_count

Returns the number of public activities attached to the case.

 

created

Returns the the case creation date.

 

created_by

Returns the the name of the person who created the case.

 

created_by_id

Returns the id of the user who created this case.

 

modified

Returns the last modified date of the case.

 


Add Comment / Rate