Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Best practices for integrating with other services

John_Wilson
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!
February 16, 2023

We have a project in Github, and I wrote a script that automatically posts a comment on every Jira ticket that is affected by a release that was started on Github, with a Github workflow. It all works great and meets our needs, does what it was designed to do. 

The issue is, in order to post the comment, I am using the Jira Python SDK, with my own credentials and an API key that I generated for myself. This means in Jira, all of the comments show up as comments from me, and not from an automated process. 

What's the best way to migrate this integration away from depending on my personal user account? Should I work with my IT team to create a new user/email address that would be used to create an account for this integration? Is there another method in the Jira Dev Ops ecosystem that I could use to get this comment to appear on the affected ticket that doesn't make it appear like it's coming from me?

Thanks!

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
2 votes
Answer accepted
Mark Rekveld - Marvelution
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
February 16, 2023

I would say there are two options you can go with.

Work with the IT team on getting a system integration account. This is likely the easiest way since your tooling is already setup to use a user account for the integration.

Another option would be to implement your tool as an app for Jira either a P2 (server/data center) app or a connect/forge app for Jira cloud. For the cloud app the comment would appear as made by the app user. For the server/data center app you would still need a user but this could be easily configured within Jira itself.

TAGS
AUG Leaders

Atlassian Community Events