Forums

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

Time restriction/filter on UserIssueHistoryManager.getFullIssueHistoryWithoutPermissionChecks()?

Narimanyan
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!
December 12, 2018

We have developed a plugin for our jira-server.

There UserIssueHistoryManager is used to fetch UserHistoryItems and we apply additional filter on the result list.

But the problem is that the result UserHistoryItems (fetched with getFullIssueHistoryWithoutPermissionChecks()) seem to be already filtered as there is no older UserHistoryItem than 2 Weeks.

Could you please give me here more info?

Thank you in advance. 

 

1 answer

1 accepted

1 vote
Answer accepted
Tom Lister
Community Champion
December 12, 2018

Hi @Narimanyan

nothing in the docs suggests any filter is applied

are you able to query the database table userhistoryitem to check underlying data used?

Narimanyan
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!
December 14, 2018

Hi @Tom Lister

thanks for your answer, I did query userhistoryitem table and it seems that the plugin result (getFullIssueHistoryWithoutPermissionChecks()) matches the query result, but still it's still not clear for me what is a single UserHistoryItem lifetime.

Suggest an answer

Log in or Sign up to answer