I make an API request for a project
https://jira.localdomain.local/rest/api/2/search?jql=project%20%3D%20%22PROJECT%22%20order%20by%20id&fields=*all
In one of the issues in the fields, I have value
1:
fields:
watches:
self: "https://jira.localdomain.local/rest/api/2/issue/TRACK-2/watchers"
watchCount: 0
isWatching: false
created: "2018-03-26T18:58:48.000+0300"
I follow the link "https://jira.localdomain.local/rest/api/2/issue/TRACK-2/watchers" and get the value
self: "https://jira.localdomain.local/rest/api/2/issue/TRACK-2/watchers"
isWatching: false
watchCount: 1
watchers:
0:
self: "https://jira.localdomain.local/rest/api/2/user?username=i.ivanov"
name: "i.ivanov"
...
If I understand correctly and follow the example of other issues then on an API request I should receive field - "watchCount: 1"
How to fix this error?