Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Update user history of viewed issues through REST API

Niklas Wolff
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 27, 2018

Hey,

is it possible to update the user history of viewed issues through the REST API when i get some issues over GET /rest/api/2/issue/{issueIdOrKey}? In the documentations i can't find any possible parameters to set the 'lastViewed' property of an issue for the current user.

In the jira cloud documentation (https://developer.atlassian.com/cloud/jira/platform/rest/) is an parameter called 'updateHistory' for the request. Unfortunately we use the server version and after some attempts this parameter does nothing.

Have someone any ideas to set this property? 

Thanks, Niklas.

1 answer

0 votes
Gregor Kasmann_Actonic
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 27, 2018

Looks like there are no any options to change issue history through REST API.

Niklas Wolff
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 28, 2018

Mmh.. that sounds not really good. We need that functionality to mark issues as unread in our client program. I was hoping that this would possible because the user history is updated in the normal jira webapplication if an issue was shown.

Suggest an answer

Log in or Sign up to answer