Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using email as worklogAuthor filter instead of UUID #164

Closed
drigolin opened this issue Sep 1, 2020 · 10 comments
Closed

Using email as worklogAuthor filter instead of UUID #164

drigolin opened this issue Sep 1, 2020 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@drigolin
Copy link

drigolin commented Sep 1, 2020

As we are using Google as our authentication proxy for atlassian jira cloud instance and JA is using my google email for filter worklogAuthor instead of the UUID. In that way JA doesn't find any worklog for my user but it finds worlogs of other people in the team.
I have changed my email id and username id into advanced configuration of JA putting my UUID of Jira but api call still using my email as JQL value for the filter of my tickets.
Any suggestion how to solve that?

@shridhar-tl
Copy link
Owner

shridhar-tl commented Sep 3, 2020

@drigolin - Where do you say Worklog is not fetched? If you are primarily worried about Worklog Report, you can try to remove your self and try adding it again and see if it solves. But for other parts of the application like Calendar, at this point it is made to use current logged in user as default which should work. I am not sure what all modules of the application is not pulling your worklog. can you please confirm if none of the modules are pulling the worklog are only specific modules. Like :

Worklog report
Calendar
Gadgets in dashboard
Sprint report
etc.

@shridhar-tl shridhar-tl self-assigned this Sep 3, 2020
@drigolin
Copy link
Author

drigolin commented Sep 3, 2020

@drigolin
Copy link
Author

drigolin commented Sep 3, 2020

@drigolin
Copy link
Author

drigolin commented Sep 18, 2020

Other option is to user the "currentUser()" function for the logged in user in place of the accountId (what I have called UUID).

@shridhar-tl shridhar-tl added bug Something isn't working ready for release Issue is resolved and will be available for uses in next release in live testing Already implemented and currently available for testing in live. and removed ready for release Issue is resolved and will be available for uses in next release labels Sep 21, 2020
@drigolin
Copy link
Author

drigolin commented Sep 23, 2020

Testing 2.1 the problem is fixed in the calendar view as all "currentUser()" worklogs are retrieved.
In case my user is added to a user group for worklog reporting email still sent. Maybe here a check if the email of the user added to the group is equal to the currentUser() email currentUser() can be used in the JQL query.

@shridhar-tl
Copy link
Owner

shridhar-tl commented Sep 25, 2020

I am little bit unclear with this issue. Earlier you stated it is working for others in your team. Hope they are also using the same authentication and they should also have their email id being sent to server. Then how could it work for others? I would like to know the root cause for this so that, I can provide better fix. Can you please clarify on following points:

  1. I understand, for you Jira is not returning worklog details using email id. But how about others. I hope for them as well same should be the case. How does it work for others?

  2. I believe if you add others to your group hope it works for those records. It only doesn't work for your record.

  3. Did any of your team members tried to add your name to their group and check if worklog is being returned?

@drigolin
Copy link
Author

drigolin commented Sep 27, 2020

@shridhar-tl yes is very strange, for me (logged in user) worklog are returned only if worklogAuthor = currentUser() or worklogAuthor = myaccountid (the long uuid code). If I want query other peole's worlog I can use their emails or their account ids. Maybe is a Jira Cloud bug or anomany? At the moment JA v2.1 is able to download my worlogs and other people worklogs. My last note is when I'm added to a user group for reporting the reporting query is filtering using my email and should use my account id or currentUser().

  1. for other email is accepted and returns their worklogs.
  2. Correct.
  3. I have asked to do the test, tomorrow I will let you know.

@shridhar-tl
Copy link
Owner

shridhar-tl commented Oct 17, 2020

@drigolin - Any update on this?

@drigolin
Copy link
Author

drigolin commented Oct 19, 2020

My collegues don't see my worklogs. It seems that only worlogs on ServiceDesk are reported but all worklogs on Jira aren't visible id filtered via my email. Maybe is because I'm the site admin of the cloud installation? It seems that my account has a special behaviour. My collegues are able to see their own worklogs with no problems at all. But I confirm that they cannot see all my worklogs.

@drigolin
Copy link
Author

drigolin commented Mar 18, 2021

After testing I confirm that is working correctly

@shridhar-tl shridhar-tl removed the in live testing Already implemented and currently available for testing in live. label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants