-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjira-ticket.json
1 lines (1 loc) · 45.9 KB
/
jira-ticket.json
1
{"expand":"renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations","id":"68599","self":"https://support.zabbix.com/rest/api/latest/issue/68599","key":"ZBX-17468","fields":{"issuetype":{"self":"https://support.zabbix.com/rest/api/2/issuetype/10111","id":"10111","description":"Problem report","iconUrl":"https://support.zabbix.com/secure/viewavatar?size=xsmall&avatarId=12573&avatarType=issuetype","name":"Problem report","subtask":false,"avatarId":12573},"customfield_11120":null,"project":{"self":"https://support.zabbix.com/rest/api/2/project/10000","id":"10000","key":"ZBX","name":"ZABBIX BUGS AND ISSUES","projectTypeKey":"software","avatarUrls":{"48x48":"https://support.zabbix.com/secure/projectavatar?pid=10000&avatarId=20377","24x24":"https://support.zabbix.com/secure/projectavatar?size=small&pid=10000&avatarId=20377","16x16":"https://support.zabbix.com/secure/projectavatar?size=xsmall&pid=10000&avatarId=20377","32x32":"https://support.zabbix.com/secure/projectavatar?size=medium&pid=10000&avatarId=20377"},"projectCategory":{"self":"https://support.zabbix.com/rest/api/2/projectCategory/10000","id":"10000","description":"Projects related to ZABBIX core development","name":"ZABBIX"}},"customfield_11121":null,"fixVersions":[{"self":"https://support.zabbix.com/rest/api/2/version/19104","id":"19104","description":"","name":"4.0.23rc1","archived":false,"released":false},{"self":"https://support.zabbix.com/rest/api/2/version/19116","id":"19116","description":"","name":"5.0.3rc1","archived":false,"released":false},{"self":"https://support.zabbix.com/rest/api/2/version/19028","id":"19028","description":"","name":"5.2.0alpha1 (master)","archived":false,"released":false},{"self":"https://support.zabbix.com/rest/api/2/version/18972","id":"18972","description":"","name":"5.2 (plan)","archived":false,"released":false}],"customfield_10110":{"self":"https://support.zabbix.com/rest/api/2/customFieldOption/10101","value":"Team B","id":"10101"},"resolution":null,"customfield_10310":null,"customfield_10311":null,"customfield_10312":null,"customfield_11116":null,"customfield_11117":{"self":"https://support.zabbix.com/rest/api/2/customFieldOption/11605","value":"4.0","id":"11605"},"customfield_11118":null,"customfield_11119":null,"resolutiondate":null,"workratio":-1,"lastViewed":"2020-07-19T12:51:41.457+0300","watches":{"self":"https://support.zabbix.com/rest/api/2/issue/ZBX-17468/watchers","watchCount":6,"isWatching":true},"created":"2020-03-18T07:19:52.000+0200","customfield_10020":null,"customfield_11111":null,"priority":{"self":"https://support.zabbix.com/rest/api/2/priority/5","iconUrl":"https://support.zabbix.com/images/icons/priorities/trivial.svg","name":"Trivial","id":"5"},"customfield_11112":null,"customfield_11310":"{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@70dd1bf1[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@30551587[overall=PullRequestOverallBean{stateCount=2, state='OPEN', details=PullRequestOverallDetails{openCount=2, mergedCount=0, declinedCount=0}},byInstanceType={stash=com.atlassian.jira.plugin.devstatus.summary.beans.ObjectByInstanceTypeBean@21f5339b[count=2,name=Bitbucket Server]}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@1de9b045[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@4d287423[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=<null>,lastUpdatedTimestamp=<null>],byInstanceType={}], review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@4784cd0e[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@1e8fba4[stateCount=0,state=<null>,dueDate=<null>,overDue=false,count=0,lastUpdated=<null>,lastUpdatedTimestamp=<null>],byInstanceType={}], deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@51d30844[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@5f54e731[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=<null>,lastUpdatedTimestamp=<null>],byInstanceType={}], repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@3ed9bd68[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@78aa54cc[count=16,lastUpdated=2020-07-20T14:14:45.000+0300,lastUpdatedTimestamp=2020-07-20T14:14:45.000+03:00],byInstanceType={stash=com.atlassian.jira.plugin.devstatus.summary.beans.ObjectByInstanceTypeBean@11410947[count=16,name=Bitbucket Server]}], branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@4967f6d5[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@3aa6306c[count=2,lastUpdated=2020-07-20T14:15:14.000+0300,lastUpdatedTimestamp=2020-07-20T14:15:14.000+03:00],byInstanceType={stash=com.atlassian.jira.plugin.devstatus.summary.beans.ObjectByInstanceTypeBean@27eaba44[count=2,name=Bitbucket Server]}]},errors=[],configErrors=[]], devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":2,\"lastUpdated\":\"2020-07-20T14:15:14.000+0300\",\"stateCount\":2,\"state\":\"OPEN\",\"details\":{\"openCount\":2,\"mergedCount\":0,\"declinedCount\":0,\"total\":2},\"open\":true},\"byInstanceType\":{\"stash\":{\"count\":2,\"name\":\"Bitbucket Server\"}}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":16,\"lastUpdated\":\"2020-07-20T14:14:45.000+0300\"},\"byInstanceType\":{\"stash\":{\"count\":16,\"name\":\"Bitbucket Server\"}}},\"branch\":{\"overall\":{\"count\":2,\"lastUpdated\":\"2020-07-20T14:15:14.000+0300\"},\"byInstanceType\":{\"stash\":{\"count\":2,\"name\":\"Bitbucket Server\"}}}}},\"isStale\":false}}","customfield_11113":null,"customfield_11114":null,"labels":["auditlog","frontend"],"customfield_11115":null,"customfield_10214":null,"customfield_10215":null,"customfield_10019":"0|i08mcv:","customfield_10614":null,"versions":[{"self":"https://support.zabbix.com/rest/api/2/version/18954","id":"18954","description":"","name":"4.0.18","archived":true,"released":true,"releaseDate":"2020-02-21"},{"self":"https://support.zabbix.com/rest/api/2/version/18955","id":"18955","description":"","name":"4.4.6","archived":true,"released":true,"releaseDate":"2020-02-21"}],"customfield_10615":[],"customfield_10616":null,"customfield_10617":null,"customfield_10618":null,"customfield_10619":null,"issuelinks":[{"id":"28098","self":"https://support.zabbix.com/rest/api/2/issueLink/28098","type":{"id":"10110","name":"Sub-task","inward":"part of","outward":"depends on","self":"https://support.zabbix.com/rest/api/2/issueLinkType/10110"},"inwardIssue":{"id":"15263","key":"ZBX-2815","self":"https://support.zabbix.com/rest/api/2/issue/15263","fields":{"summary":"Missing audit records for different actions in zabbix GUI and API","status":{"self":"https://support.zabbix.com/rest/api/2/status/4","description":"This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.","iconUrl":"https://support.zabbix.com/images/icons/statuses/reopened.png","name":"Reopened","id":"4","statusCategory":{"self":"https://support.zabbix.com/rest/api/2/statuscategory/2","id":2,"key":"new","colorName":"blue-gray","name":"To Do"}},"priority":{"self":"https://support.zabbix.com/rest/api/2/priority/5","iconUrl":"https://support.zabbix.com/images/icons/priorities/trivial.svg","name":"Trivial","id":"5"},"issuetype":{"self":"https://support.zabbix.com/rest/api/2/issuetype/10110","id":"10110","description":"Incident report","iconUrl":"https://support.zabbix.com/secure/viewavatar?size=xsmall&avatarId=12570&avatarType=issuetype","name":"Incident report","subtask":false,"avatarId":12570}}}}],"assignee":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"updated":"2020-07-20T14:17:32.000+0300","status":{"self":"https://support.zabbix.com/rest/api/2/status/10406","description":"","iconUrl":"https://support.zabbix.com/images/icons/statuses/generic.png","name":"QA Failed","id":"10406","statusCategory":{"self":"https://support.zabbix.com/rest/api/2/statuscategory/4","id":4,"key":"indeterminate","colorName":"yellow","name":"In Progress"}},"components":[{"self":"https://support.zabbix.com/rest/api/2/component/10090","id":"10090","name":"API (A)","description":"Issues related to JSON-RPC API."},{"self":"https://support.zabbix.com/rest/api/2/component/10000","id":"10000","name":"Frontend (F)","description":"Zabbix web-based user interface"}],"description":"*Steps to reproduce:*\r\n\r\n1. Configuration => Hosts => Select a Host\r\n2. Enabled/Disabled => Update\r\n\r\nCheck the Reports => Audit: *hosts.status* has duplicated 2 audit logs.\r\n(If you change the Enabled/Disabled in the Hosts List, Only 1 audit log)","customfield_10010":null,"customfield_10011":null,"customfield_10012":0.125,"customfield_10210":null,"customfield_10211":null,"customfield_10014":["com.atlassian.greenhopper.service.sprint.Sprint@55671953[id=73,rapidViewId=7,state=CLOSED,name=Sprint 62 (Mar 2020),startDate=2020-03-02T08:00:00.000+02:00,endDate=2020-03-31T18:00:00.000+03:00,completeDate=2020-03-31T23:17:25.775+03:00,activatedDate=2020-03-02T08:00:00.000+02:00,sequence=73,goal=]","com.atlassian.greenhopper.service.sprint.Sprint@5b41c0eb[id=74,rapidViewId=7,state=CLOSED,name=Sprint 63 (Apr 2020),startDate=2020-04-01T00:00:00.000+03:00,endDate=2020-04-30T18:00:00.000+03:00,completeDate=2020-05-03T20:42:48.069+03:00,activatedDate=2020-04-01T00:00:00.000+03:00,sequence=74,goal=]","com.atlassian.greenhopper.service.sprint.Sprint@5b4479d1[id=75,rapidViewId=7,state=CLOSED,name=Sprint 64 (May 2020),startDate=2020-05-03T20:43:19.934+03:00,endDate=2020-05-29T18:00:00.000+03:00,completeDate=2020-05-31T23:20:37.284+03:00,activatedDate=2020-05-03T20:43:19.934+03:00,sequence=75,goal=]","com.atlassian.greenhopper.service.sprint.Sprint@74fe8f75[id=76,rapidViewId=7,state=CLOSED,name=Sprint 65 (Jun 2020),startDate=2020-05-31T23:22:00.000+03:00,endDate=2020-06-30T18:00:00.000+03:00,completeDate=2020-06-30T18:20:46.885+03:00,activatedDate=2020-05-31T23:22:31.714+03:00,sequence=76,goal=]","com.atlassian.greenhopper.service.sprint.Sprint@53ac5af0[id=77,rapidViewId=7,state=ACTIVE,name=Sprint 66 (Jul 2020),startDate=2020-06-30T18:25:00.000+03:00,endDate=2020-07-31T18:00:00.000+03:00,completeDate=<null>,activatedDate=2020-06-30T18:25:29.147+03:00,sequence=77,goal=]"],"customfield_10212":null,"customfield_10015":null,"customfield_10213":null,"customfield_11215":null,"customfield_11414":null,"customfield_11413":null,"attachment":[{"self":"https://support.zabbix.com/rest/api/2/attachment/100456","id":"100456","filename":"AuditLog.png","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=JKKim","name":"JKKim","key":"jkkim","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?avatarId=10192","24x24":"https://support.zabbix.com/secure/useravatar?size=small&avatarId=10192","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&avatarId=10192","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&avatarId=10192"},"displayName":"Kim Jongkwon","active":true,"timeZone":"Asia/Tokyo"},"created":"2020-03-18T07:18:23.000+0200","size":113777,"mimeType":"image/png","content":"https://support.zabbix.com/secure/attachment/100456/AuditLog.png","thumbnail":"https://support.zabbix.com/secure/thumbnail/100456/_thumb_100456.png"},{"self":"https://support.zabbix.com/rest/api/2/attachment/100457","id":"100457","filename":"HostDisabled.png","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=JKKim","name":"JKKim","key":"jkkim","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?avatarId=10192","24x24":"https://support.zabbix.com/secure/useravatar?size=small&avatarId=10192","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&avatarId=10192","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&avatarId=10192"},"displayName":"Kim Jongkwon","active":true,"timeZone":"Asia/Tokyo"},"created":"2020-03-18T07:18:21.000+0200","size":18480,"mimeType":"image/png","content":"https://support.zabbix.com/secure/attachment/100457/HostDisabled.png","thumbnail":"https://support.zabbix.com/secure/thumbnail/100457/_thumb_100457.png"},{"self":"https://support.zabbix.com/rest/api/2/attachment/107348","id":"107348","filename":"image-2020-06-13-13-41-11-319.png","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"created":"2020-06-13T13:40:36.000+0300","size":2310,"mimeType":"image/png","content":"https://support.zabbix.com/secure/attachment/107348/image-2020-06-13-13-41-11-319.png","thumbnail":"https://support.zabbix.com/secure/thumbnail/107348/_thumb_107348.png"},{"self":"https://support.zabbix.com/rest/api/2/attachment/107354","id":"107354","filename":"screenshot-1.png","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"created":"2020-06-13T16:57:40.000+0300","size":14820,"mimeType":"image/png","content":"https://support.zabbix.com/secure/attachment/107354/screenshot-1.png","thumbnail":"https://support.zabbix.com/secure/thumbnail/107354/_thumb_107354.png"}],"summary":"Duplicate audit log - hosts.status","creator":{"self":"https://support.zabbix.com/rest/api/2/user?username=JKKim","name":"JKKim","key":"jkkim","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?avatarId=10192","24x24":"https://support.zabbix.com/secure/useravatar?size=small&avatarId=10192","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&avatarId=10192","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&avatarId=10192"},"displayName":"Kim Jongkwon","active":true,"timeZone":"Asia/Tokyo"},"subtasks":[],"customfield_11010":null,"reporter":{"self":"https://support.zabbix.com/rest/api/2/user?username=JKKim","name":"JKKim","key":"jkkim","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?avatarId=10192","24x24":"https://support.zabbix.com/secure/useravatar?size=small&avatarId=10192","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&avatarId=10192","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&avatarId=10192"},"displayName":"Kim Jongkwon","active":true,"timeZone":"Asia/Tokyo"},"customfield_11210":null,"customfield_11211":" ","customfield_11410":null,"customfield_11212":null,"customfield_11213":null,"customfield_11412":null,"customfield_11214":null,"customfield_11411":null,"customfield_10710":null,"environment":null,"customfield_10711":null,"customfield_10910":"https://confluence.zabbix.lan/display/SUPPORT/Incidents+management+and+answers+template","customfield_10712":null,"customfield_10713":null,"customfield_10714":null,"duedate":null,"customfield_10715":null,"customfield_10716":null,"comment":{"comments":[{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/416055","id":"416055","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=vmurzins","name":"vmurzins","key":"vmurzins","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=vmurzins&avatarId=15313","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=vmurzins&avatarId=15313","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=vmurzins&avatarId=15313","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=vmurzins&avatarId=15313"},"displayName":"Valdis Murzins","active":true,"timeZone":"Europe/Riga"},"body":"This happens only if state is changed from edit form. If it is changed from the list, only one entry is added to auditlog.","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=vmurzins","name":"vmurzins","key":"vmurzins","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=vmurzins&avatarId=15313","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=vmurzins&avatarId=15313","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=vmurzins&avatarId=15313","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=vmurzins&avatarId=15313"},"displayName":"Valdis Murzins","active":true,"timeZone":"Europe/Riga"},"created":"2020-03-18T09:28:14.000+0200","updated":"2020-03-18T09:28:14.000+0200","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/416191","id":"416191","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"body":"FIXED in development branch [feature/ZBX-17468-4.0|https://git.zabbix.com/projects/ZBX/repos/zabbix/compare/diff?targetBranch=refs/heads/release/4.0&sourceBranch=refs/heads/feature/ZBX-17468-4.0], [feature/ZBX-17468-5.0|https://git.zabbix.com/projects/ZBX/repos/zabbix/compare/diff?targetBranch=refs/heads/release/5.0&sourceBranch=refs/heads/feature/ZBX-17468-5.0]","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"created":"2020-03-18T16:10:07.000+0200","updated":"2020-07-13T13:57:14.000+0300"},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/416192","id":"416192","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"body":"*(1)* No translation string changes.\r\n\r\n<[~Miks.Kronkalns]> CLOSED","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"created":"2020-03-18T16:10:22.000+0200","updated":"2020-07-08T09:44:37.000+0300","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/416264","id":"416264","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=vmurzins","name":"vmurzins","key":"vmurzins","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=vmurzins&avatarId=15313","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=vmurzins&avatarId=15313","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=vmurzins&avatarId=15313","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=vmurzins&avatarId=15313"},"displayName":"Valdis Murzins","active":true,"timeZone":"Europe/Riga"},"body":"*(2)* [AF] After these changes there is no more audit record, when host visible is changed.\r\n Also it seems really strange, that audit record was removed in host update, but left in host create. I would prefer the code to be more consistent. (if there are no hard reasons for it)\r\n\r\n<[~talbergs]> RESOLVED in [f3f2b5a73|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/f3f2b5a73], [4307a317a|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/4307a317a], [edb956297|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/edb956297]\r\n\r\n<[~talbergs]> Within this task from now on audit log record will be created also when creating host via API, also when host is updated via API\r\n\r\n<[~talbergs]> Audit logs are created in both API side and in controllers. It needs some work - in best case _audit log recorder_ would create records on \"model changes\" API would change model -> that change event is dispatched -> _audit log recorder_ would decide what to do with given change (format and write audit log).\r\n\r\n<[~Miks.Kronkalns]> CLOSED","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"created":"2020-03-18T18:53:18.000+0200","updated":"2020-07-08T09:44:26.000+0300","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/418738","id":"418738","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=vmurzins","name":"vmurzins","key":"vmurzins","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=vmurzins&avatarId=15313","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=vmurzins&avatarId=15313","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=vmurzins&avatarId=15313","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=vmurzins&avatarId=15313"},"displayName":"Valdis Murzins","active":true,"timeZone":"Europe/Riga"},"body":"*(3)* [AF] On host group mass enable/disable there are duplicate entries in audit log about it. One with action ENABLE. other with action UPDATE (with details about changed state).\r\n\r\nI propose to follow this logic.\r\n If host status is updated there should be audit entry with action \"ENABLE/DISABLE\".\r\n If host has it's other fields updated (in scope of this task, we are taking into account only fields from hosts table), there should be audit entry with action UPDATE.\r\n If host has both, updated fields and changes state, then two audit entries should be present. One with action UPDATE and list of changes (except state). One with action ENABLE/DISABLE.\r\n\r\n<[~vmurzins]> {color:#008000}As discussed on 30.03{color}\r\n Mandatory requirements are the following:\r\n * There should be no duplicate entry about status update. (having only UPDATE audit entry is fine).\r\n * There should be no entries about hosts having status update, when new status is same as previous one.\r\n\r\n<[~talbergs]> If I understand you correctly, this should be enough to fix this - RESOLVED in [6bd8ca7ed|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/6bd8ca7ed]\r\n\r\n<[~Miks.Kronkalns]> In case if only status field is changed, it still need to show enable/disable, instead of update + status field change in details column. I would consider explicit check in {{CAudit}} to change action name in case if there is only one fields in {{$objects_diff}} and that field is {{status}}. Maybe you have better ideas. REOPENED\r\n\r\n<[~talbergs]> This is acknowledged, see above: \"having only UPDATE audit entry is fine\". And it seems reasonable. Yes better idea is presented in *(2)* - in short - to bring order into actions first and the formatting you ask for will be implemented.\r\n\r\n<[~Miks.Kronkalns]> CLOSED","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"created":"2020-03-27T18:16:04.000+0200","updated":"2020-06-13T11:40:56.000+0300","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/418739","id":"418739","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=vmurzins","name":"vmurzins","key":"vmurzins","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=vmurzins&avatarId=15313","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=vmurzins&avatarId=15313","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=vmurzins&avatarId=15313","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=vmurzins&avatarId=15313"},"displayName":"Valdis Murzins","active":true,"timeZone":"Europe/Riga"},"body":"*(4)* [AF] Upon hostgroup mass enable/disable. If host's state was not changed, it is still added in audit log.\r\n\r\n*Expected:* audit log should contain entry about ENABLE/DISABLE only if there was change in state.\r\n\r\n{color:#808080}Note: this can be related to (3) and maybe fixed together. The function CAudit::addBulk() could be of help here.{color}\r\n\r\n<[~talbergs]> RESOLVED in *(3)*\r\n\r\n<[~Miks.Kronkalns]> CLOSED","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"created":"2020-03-27T18:18:32.000+0200","updated":"2020-07-08T09:43:23.000+0300","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/419212","id":"419212","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=vmurzins","name":"vmurzins","key":"vmurzins","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=vmurzins&avatarId=15313","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=vmurzins&avatarId=15313","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=vmurzins&avatarId=15313","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=vmurzins&avatarId=15313"},"displayName":"Valdis Murzins","active":true,"timeZone":"Europe/Riga"},"body":"*(5)* [AF] For audit entry addition it is suggested to use new function CAudit::addBulk(). It will also help to avoid adding audit entries in loop in CHost.php.\r\n\r\n<[~talbergs]> RESOLVED in [3b70ee3cc|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/3b70ee3cc]\r\n\r\n<[~Miks.Kronkalns]> CLOSED","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"created":"2020-03-30T17:48:12.000+0300","updated":"2020-06-12T16:36:11.000+0300","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/433857","id":"433857","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"body":"*(6)* [AF] I think it's good chance to remove function {{updateHostStatus}}. Info message creation could be moved to API. There is no other benefit from this function anymore. Making {{status}} field update at the same time with other fields will save 2 database requests.\r\n\r\n<[~talbergs]>\r\n{quote}I think it's good chance to remove function updateHostStatus\r\n{quote}\r\nYou think to move it into \"CHostManager\" in this task?\r\n{quote}Info message creation could be moved to API.\r\n{quote}\r\nI think API would be the wrong place to creatie UI message, controller should do it if API call succeeds.\r\n{quote}Making {{status}} field update at the same time with other fields will save 2 database requests.\r\n{quote}\r\nNot sure what are you referring to here.\r\n\r\n<[~Miks.Kronkalns]> Making audit logs by controllers, instead of API, direct API requests will not be logged. API already do this in most cases.\r\n\r\n<[~Miks.Kronkalns]> Here is what I mean by that:\r\n{noformat}\r\ndiff --git a/frontends/php/include/classes/api/services/CHost.php b/frontends/php/include/classes/api/services/CHost.php\r\nindex 59aa4c2..66d2f56 100644\r\n--- a/frontends/php/include/classes/api/services/CHost.php\r\n+++ b/frontends/php/include/classes/api/services/CHost.php\r\n@@ -898,22 +898,20 @@ class CHost extends CHostGeneral {\r\n $updateInventory['inventory_mode'] = $data['inventory_mode'];\r\n }\r\n \r\n- if (isset($data['status'])) {\r\n- $updateStatus = $data['status'];\r\n- }\r\n-\r\n unset($data['hosts'], $data['groups'], $data['interfaces'], $data['templates_clear'], $data['templates'],\r\n- $data['macros'], $data['inventory'], $data['inventory_mode'], $data['status']);\r\n+ $data['macros'], $data['inventory'], $data['inventory_mode']);\r\n \r\n if (!zbx_empty($data)) {\r\n DB::update('hosts', [\r\n 'values' => $data,\r\n 'where' => ['hostid' => $hostids]\r\n ]);\r\n- }\r\n \r\n- if (isset($updateStatus)) {\r\n- updateHostStatus($hostids, $updateStatus);\r\n+ foreach ($hostids as $hostid) {\r\n+ if (isset($data['status']) && $db_hosts[$hostid]['status'] != $data['status']) {\r\n+ info(_s('Updated status of host \"%1$s\".', $db_hosts[$hostid]['host']));\r\n+ }\r\n+ }\r\n }{noformat}\r\n...by fact, function {{updateHostStatus}} now only generate info message and change {{hosts.status}} which might be normally done in {{massupdate}} function.\r\n\r\nREOPENED\r\n\r\n<[~talbergs]> RESOLVED in [87128890049|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/87128890049]\r\n\r\n<[~Miks.Kronkalns]> CLOSED","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"created":"2020-05-22T10:05:08.000+0300","updated":"2020-07-08T09:43:03.000+0300","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/439747","id":"439747","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"body":"(!) *Some clarification needed.*\r\n\r\nFrom carousel of subissues (2), (3) and (4) it's not clear if it's fine that status update records are missed at all. Now, making only update record, Audit record filter returns nothing when used to filter enable/disable host records. Instead, there is update record with single field changed - status.\r\n\r\n<[~talbergs]> Status update record is not missing !image-2020-06-13-13-41-11-319.png|thumbnail! \r\n\r\n<[~talbergs]> Now I see - we totally missed \"filter\" in this task - this surely is your find and subissue can be created for this - \"Action filter: [enable, disable] for Host resource is not working\".","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"created":"2020-06-13T12:02:07.000+0300","updated":"2020-06-13T13:45:23.000+0300","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/439756","id":"439756","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"body":"*(7)* [F] Filter with action = enabled/disabled + resource = host doesn't return results of status change.\r\n\r\n<[~talbergs]> As discussed with [~sasha] WON'T FIX","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"created":"2020-06-13T13:48:40.000+0300","updated":"2020-07-06T16:05:53.000+0300","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/439768","id":"439768","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"body":"- A +work in progress proposal+ - maybe we can fix the fact that auditlog.action table contains domain specific actions (like login/enabled etc..)? Instead we could allow only Create/Delete/Update action types (no Enable and so forth). Then we could provide user to filter for specific type of Update and name it \"Enable\" in frontends filter form.\r\n - If audit-log tables serve to track changes in DB, it should be easy to rollback changes by using audit-tables.\r\n\r\nFew lines of pseudo SQL code:\r\n{code:sql}\r\n-- get audit on who enabled this host and when\r\nselect a.clock, a.userid from auditlog a join auditlog_details ad on ad.auditid = a.auditid\r\nwhere a.resourcetype=host\r\nand a.action=update\r\nand ad.field_name=status\r\nand ad.newvalue=1\r\n\r\n-- get audit on who enabled/disabled this host and when\r\nselect a.clock, a.userid, ad.newvalue as newstatus from auditlog a join auditlog_details ad on ad.auditid = a.auditid\r\nwhere a.resourcetype=host\r\nand a.action=update\r\nand ad.field_name=status\r\n\r\n-- get audit on who updated this host and when\r\nselect a.clock, a.userid, ad.field_name, ad.oldvalue, ad.newvalue from auditlog a join auditlog_details ad on ad.auditid = a.auditid\r\nwhere a.resourcetype=host\r\nand a.action=update\r\n\r\n-- get audit on who acted on host resource\r\nselect a.clock, a.userid, a.action, ad.* from auditlog a join auditlog_details ad on ad.auditid = a.auditid\r\nwhere a.resourcetype=host\r\n\r\n-- get audit on who acted on any resource\r\nselect a.clock, a.userid, a.action, ad.field_name, ad.oldvalue, ad.newvalue from auditlog a join auditlog_details ad on ad.auditid = a.auditid\r\n{code}\r\n - Why there exists \"Action\" column if table is already filtered by \"Action\"?\r\n - !screenshot-1.png|thumbnail!","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"created":"2020-06-13T17:05:39.000+0300","updated":"2020-06-13T17:05:39.000+0300","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/446695","id":"446695","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=smaklakovs","name":"smaklakovs","key":"JIRAUSER49571","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=JIRAUSER49571&avatarId=21697","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=JIRAUSER49571&avatarId=21697","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER49571&avatarId=21697","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=JIRAUSER49571&avatarId=21697"},"displayName":"Sergejs Maklakovs","active":true,"timeZone":"Europe/Riga"},"body":"*(8)* Please create branch and pull request for zabbix 5.0 version. \r\n\r\n<[~talbergs]> RESOLVED in development branch [feature/ZBX-17468-5.0|https://git.zabbix.com/projects/ZBX/repos/zabbix/compare/diff?targetBranch=refs/heads/release/5.0&sourceBranch=refs/heads/feature/ZBX-17468-5.0]\r\n\r\n<[~Miks.Kronkalns]> CLOSED","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"created":"2020-07-10T12:00:08.000+0300","updated":"2020-07-14T09:24:07.000+0300","visibility":{"type":"role","value":"Developers"}},{"self":"https://support.zabbix.com/rest/api/2/issue/68599/comment/447185","id":"447185","author":{"self":"https://support.zabbix.com/rest/api/2/user?username=talbergs","name":"talbergs","key":"talbergs","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=talbergs&avatarId=19981","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=talbergs&avatarId=19981","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=talbergs&avatarId=19981","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=talbergs&avatarId=19981"},"displayName":"Mārtiņš Tālbergs","active":true,"timeZone":"Europe/Riga"},"body":"*(9)* We should list fields explicitly and not use API_OUTPUT_EXTEND\r\n\r\n<[~talbergs]> RESOLVED in\r\n - *4.0.19rc1* [46d1997439e|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/46d1997439e]\r\n - *5.0.2rc1* [6f29c1512cf|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/6f29c1512cf]\r\n\r\n<[~Miks.Kronkalns]> Why do we need select readonly fields to compare against changes (except, that it is how it worked till now)? Check out the [list|https://www.zabbix.com/documentation/current/manual/api/reference/host/object] of readonly fields.\r\n\r\nREOPENED\r\n\r\n<[~talbergs]> RESOLVED in\r\n - *4.0.19rc1* [588f28a077b|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/588f28a077b]\r\n - *5.0.2rc1* [7e40b7291ac|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/7e40b7291ac]\r\n\r\n<[~Miks.Kronkalns]> Please have a look at my changes: [6402aec26a2|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/6402aec26a2e0940cf267018f9675ef6fbdeb226], [2545e9b0069|https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/2545e9b00699aba01f43d1b2a92887fbe1e49cac]. RESOLVED","updateAuthor":{"self":"https://support.zabbix.com/rest/api/2/user?username=Miks.Kronkalns","name":"Miks.Kronkalns","key":"miks.kronkalns","avatarUrls":{"48x48":"https://support.zabbix.com/secure/useravatar?ownerId=miks.kronkalns&avatarId=20152","24x24":"https://support.zabbix.com/secure/useravatar?size=small&ownerId=miks.kronkalns&avatarId=20152","16x16":"https://support.zabbix.com/secure/useravatar?size=xsmall&ownerId=miks.kronkalns&avatarId=20152","32x32":"https://support.zabbix.com/secure/useravatar?size=medium&ownerId=miks.kronkalns&avatarId=20152"},"displayName":"Miks Kronkalns","active":true,"timeZone":"Europe/Riga"},"created":"2020-07-13T13:58:40.000+0300","updated":"2020-07-20T14:17:32.000+0300","visibility":{"type":"role","value":"Developers"}}],"maxResults":13,"total":13,"startAt":0},"votes":{"self":"https://support.zabbix.com/rest/api/2/issue/ZBX-17468/votes","votes":0,"hasVoted":false}}}