Hi,
When I use the API to request the history on a ticket, I get a
response which includes as its third line: ‘# 5/5 (/total)’. What does
that line mean? What is the 5/5? It doesn’t seem to equal the number
of history items on the ticket.
This is what I am getting back for a newly created ticket:
‘RT/4.0.6 200 Ok’
’’
’# 3/3 (/total)’
’’
‘425160: Ticket created by XXXXX’
’’
Those ‘’ lines signify empty lines.
When I use the API to request the history on a ticket, I get a
response which includes as its third line: ‘# 5/5 (/total)’. What does
that line mean? What is the 5/5? It doesn’t seem to equal the number
of history items on the ticket.
This is what I am getting back for a newly created ticket:
‘RT/4.0.6 200 Ok’
‘’
‘# 3/3 (/total)’
‘’
‘425160: Ticket created by XXXXX’
‘’
Those ‘’ lines signify empty lines.
When you asked this question on #rt, I asked what command you were
sending.
-kevin
When I use the API to request the history on a ticket, I get a
response which includes as its third line: ‘# 5/5 (/total)’. What does
that line mean? What is the 5/5? It doesn’t seem to equal the number
of history items on the ticket.
This is what I am getting back for a newly created ticket:
‘RT/4.0.6 200 Ok’
‘’
‘# 3/3 (/total)’
‘’
‘425160: Ticket created by XXXXX’
‘’
When you asked this question on #rt, I asked what command you were
sending.
-kevin
Apologies Kevin, I must’ve missed your question.
The request would be https:// /REST/1.0/ticket/18996/history
just like as described at http://requesttracker.wikia.com/wiki/REST
When I use the API to request the history on a ticket, I get a
response which includes as its third line: ‘# 5/5 (/total)’. What does
that line mean? What is the 5/5? It doesn’t seem to equal the number
of history items on the ticket.
This is what I am getting back for a newly created ticket:
‘RT/4.0.6 200 Ok’
‘’
‘# 3/3 (/total)’
‘’
‘425160: Ticket created by XXXXX’
‘’
When you asked this question on #rt, I asked what command you were
sending.
Apologies Kevin, I must’ve missed your question.
The request would be https:// /REST/1.0/ticket/18996/history
just like as described at http://requesttracker.wikia.com/wiki/REST
On a newly created ticket in a vanilla RT I see 2/2 and 2
transactions. Log in as a super user and count the transactions, it’s
possible that there are more transactions and your REST user doesn’t
have permission to see them so they’re being filtered.
2/2 (/total)
122: Ticket created by root
123: Outgoing email recorded by RT_System
-kevin
Log in as a super user and count the transactions, it’s
possible that there are more transactions and your REST user doesn’t
have permission to see them so they’re being filtered.
2/2 (/total)
122: Ticket created by root
123: Outgoing email recorded by RT_System
I won’t be able to check this out this year, but your explanation
makes sense. Thanks!