[ZBX-5698] API triggerprototype.create don't return triggerids after INSERT Created: 2012 Oct 17  Updated: 2017 May 30  Resolved: 2012 Oct 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.0.4rc1
Fix Version/s: 2.0.4rc1, 2.1.0

Type: Incident report Priority: Trivial
Reporter: Oleg Egorov (Inactive) Assignee: Oleg Egorov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Request:

{"jsonrpc":"2.0","method":"triggerprototype.create","id":3,"auth":"4b87cee40aa082bd58f799232a4c9aeb","params":{"description":"NEW ZBX","expression":"

{ZBX:ITEMPROTO.last(0)}

=0","status":0}}

Response:

{
"jsonrpc": "2.0",
"result":

{ "triggerids": [] }

,
"id": 3
}



 Comments   
Comment by Oleg Egorov (Inactive) [ 2012 Oct 17 ]

FIXED IN svn://svn.zabbix.com/branches/dev/ZBX-5698 r30885

Comment by Toms (Inactive) [ 2012 Oct 18 ]

TESTED

Comment by Oleg Egorov (Inactive) [ 2012 Oct 18 ]

CLOSED
FIXED IN 2.0.4 r30916, 2.1.0 r30917

Comment by Pavels Jelisejevs (Inactive) [ 2012 Oct 18 ]

(1) Please add an entry to the API changelog.

oleg.egorov RESOLVED

Comment by Oleg Egorov (Inactive) [ 2012 Oct 22 ]

CLOSED
FIXED IN 2.0.4 r30916, 2.1.0 r30917

Generated at Thu Apr 25 10:32:18 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.