Hey guys, got an interesting question.
So, I configured an external app with jira using OAuth. I followed the oauth procedures from Atlassian and everything works fine. My external app can communicate with my Jira instance no problem.
The thing is, when my external app creates a comment in a Jira ticket, its done under my name!
When I created the certificate for the OAuth, I did not specify an email address or my name. In fact, I did the whole OAuth process, linked above, using an virtual machine that did not know anything about me.
Is it because when I went to the temporary authorize page (Step 3) in documentation, I was logged in as me?
Is there a place I can set the incoming oauth connection to be a different name, like a service name instead of mine?
Thanks in advance,
Jason
Solved! Go to Solution.
Good catch. This is most likely the answer.
I think this is an artifact of accepting the authorization under my own account. I will go through the dance again and when I get to the step of accepting the authorization, I'll be sure to be logged in as a service agent instead of myself. I was under the impression it would use the certificate values or more likely, the application name under application links where I defined the oauth connection. I wouldn't mind if it just said OAuth or external application, but not my name on every comment organization wide. I don't want to be that popular in my organization. :D
I haven't worked exactly in this situation with OAuth, but I did run into something very similar with a different integration.
I had to generate an API Key, and that key was linked to my Jira user account - hence the integration using that key logged everything as me.
I solved the issue by using a service account to generate my keys going forward.
We had the same issue with Bitbucket's workspace variables. Creating a service account user was the right choice.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Improve user experience across Jira with global settings
Learn how to set up and configure a Jira site, manage Jira permissions, and configure Jira apps and integrations.
Learning Path
Streamline projects across Jira with shared configurations
Build Jira work items with reusable configurations called schemes, and reduce administrative work with automation.
Learning Path
Become an effective Jira software project admin
Set up software projects and configure tools and agile boards to meet your team's needs.