Forums

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

I want to write a JQL function to run a saved filter as another user

Abhishek Barnwal September 16, 2020

I am facing timezone problem with the Dashboard data. I want to make my JQL timezone independent. Best workaround i found is to make JQL user dependent. How can i run a saved filter as a specific user.

1 answer

0 votes
Florian
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.
September 17, 2020

Hi Abhishek. 
I don’t know what the exact problem is with the time zones. However there ist no way to run a filter as a different user. The dashboard is shown under the context of the users who is currently logged in. Maybe you can use relative time filters. Something like

created >= -12h 

This should give you all issues from the last 12 hours.  This is a fixed timespan relative to now. No matter where you or your users are. 

Abhishek Barnwal September 17, 2020

I have to use queries like this "End Time" >= startOfWeek(-2) AND "End Time" < startOfWeek(-1) which is giving different result for different user as there is 12 hrs time gap. I wanted to build custom JQL Function using plugin development which can take two arguments 1. user 2. SavedFilter which will make whole JQL user independent.

Suggest an answer

Log in or Sign up to answer