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

User info is not being correctly shown in Jira when merging - is this possible? #1816

Open
leighgallagher opened this issue Jan 2, 2023 · 17 comments
Labels
stay tuned We have a ticket in our backlog and will update contributor when work commences

Comments

@leighgallagher
Copy link

I am looking to see if there is a way to show the user who merged into the Jira ticket. As you can see in the image below, the Author is shown as 'User' - is there a way around this?

image-20230102-090042

@krazziekay
Copy link
Collaborator

Hi @leighgallagher , can you please check if this user's GitHub account is the same as his/her Jira's account?
Due to a recent internal change, Jira now shows the user information only if the user's GitHub email is the same as his/her Atlassian email. This has been well explained in the FAQ section.

@roufi3
Copy link

roufi3 commented Jan 10, 2023

Hey folks
What if the email address matches and it's still not shown anymore?

@birdsarah
Copy link

birdsarah commented Jan 12, 2023

As best as I can tell the only matches that are currently showing up are when a user's github handle / username matches the email username e.g. my github handle is birdsarah my jira email address is not [email protected].

My jira email address (authentication is by SSO) is in my github profile though, and is currently set to my primary email address.

I have tried various combinations on Github of making it my default address, making it public, and putting it in a github commit message. None of these seem to work.

Can the FAQ section you linked add more specificity than "the email address associated with your GitHub account should match the address in your Jira account"?

The github settings where I see options are

@RichardDavies
Copy link

I agree with @birdsarah that this new seemingly arbitrary requirement is very confusing and frustrating to a user. My Github account has two email addresses associated with it at https://github.com/settings/emails, and one of them is the exact same email address as my Atlasian email. However, regardless of whether or not that email is set as my "primary" Github email, I no longer see the Github user info in Jira.

I can see other commit and pull request details in Jira so the accounts are obviously connected. Showing the user information should "just work" as it previously did as long as the accounts are properly connected. The new matching email address requirement is too brittle and arbitrary and not working correctly.

@birdsarah
Copy link

birdsarah commented Jan 13, 2023

I dug into this a bit more. To get my avatar and name to correctly show in Jira, I need to make my Jira email and my public email address on github match. This does not backfill past information but new PRs that are opened will now correctly have my avatar.

The octokit library that github-for-jira uses, provides https://octokit.github.io/rest.js/v19#users-list-emails-for-authenticated-user which could be used for non-public email address matching if github-for-jira has the user:email scope.

@tjlytle
Copy link

tjlytle commented Jan 13, 2023

We'd also find it useful if this worked for every email and not just the public email.

@rachellerathbone
Copy link
Contributor

Hey all. Unfortunately, this regression is the result of a upstream team changing the way they store data. A team mate of mine is working on a doc to outline what can be done to remediate this via your GH settings, until we find a longer-term strategy.

I'll send the link through once it's ready.

@rachellerathbone rachellerathbone added the stay tuned We have a ticket in our backlog and will update contributor when work commences label Jan 17, 2023
@rachellerathbone
Copy link
Contributor

Our SUPPORT docs have been updated with more info and a temporary workaround https://github.com/atlassian/github-for-jira/blob/main/SUPPORT.md#unmapped-users Unfortunately, this is not the most ideal solution but it is the best we can do at this point in time. We're trying to coordinate with the team that made the changes to see if there is a way to return this functionality for all users.

@JoppeDC
Copy link

JoppeDC commented Jul 25, 2023

This is a pretty annoying issue, as not everyone can just set their email address to be their public Github address. Also, the integration is using some old profile picture (~10+ years old) from who knows where. Its not picking up the GIthub profile picture at all.
In another issue i read that this uses the Gravatar profile picture, but it appears that i do not have a gravatar account so thats also not the case.

Pretty bad issue, business whise.

@augustnmonteiro
Copy link

Is there any update on this? I'm facing the same issue.

It is pretty anoying and we can't just ask all the devs to change their github public email.

what if there was a field in the users profile for github username and you guys could use that as a match?

@deemsk
Copy link

deemsk commented Dec 20, 2023

This issue also affects my team badly. It's been almost a years since this issue was opened. Are there any news? How much longer will the fix take?

@stguitar
Copy link

stguitar commented Feb 1, 2024

@rachellerathbone yea, still an issue, and the shared workaround is not really even close to plausible.

@birdsarah I was intrigued by your suggestion of using the API in someway. Can you expand on that a bit?

@watk
Copy link

watk commented Feb 8, 2024

Any updates on this?

@Radek-Pysny
Copy link

At least this issue is not closed yet, but there could be done some progress @rachellerathbone. It would be best if this would be enabled also retrospectively, because it is very annoying. Could someone discuss this issue with upstream team, so it does not stuck forever...

@ZBishopM
Copy link

Good afternoon, I'm having this issue, tried to match email from github and jira's, but not solving. Do we have an update? :(

@Radek-Pysny
Copy link

@ZBishopM There are two points one might make an easy mistake. Namely, by thinking that it does any change retrospectively (no it changes only future code reviews, approvals, etc.) and by not having that email published (hidden email cannot be accessed via API).

@MiDoCisco
Copy link

@ZBishopM what I found confusing is that there are 2 places to indicate e-mail "private" -

  1. In the https://github.com/settings/emails - the "Keep my email addresses private"
  2. In the profile https://github.com/YOUR_ID - you need to click "Edit Profile" and set the e-mail to non-empty value. This is what JIRA will be able to see.

I believe that both places need to be set to public for the integration to match the users correctly in all cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stay tuned We have a ticket in our backlog and will update contributor when work commences
Projects
None yet
Development

No branches or pull requests