Can I integrate a one-way github integration?

Syed Ushher Ahmad
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!
November 4, 2024

I want to integrate my issues with existing Github Branches. But i want it to be one way, i.e. I want specific changes on github (such as Comments and commits) be notified in JIRA but any change in JIRA should NOT be mentioned in github. I have tried integrating but it seems JIRA git hub integrations only allow for changes in branches, such as making commits, pull requests etc. Is there a way to do this?

1 answer

0 votes

Hi @Syed Ushher Ahmad

Here’s how you can solve this:

If you want GitHub updates like comments and commits to show up in Jira without Jira sending anything back to GitHub, you’ll need an integration that supports one-way synchronization.

How You Can Set It Up

1. You need to configure the integration to pull updates from GitHub into Jira while stopping Jira from sending anything back. This ensures GitHub stays untouched.

2. Focus on syncing specific events—like comments or commits—from GitHub to Jira. This way, Jira users see what they need without cluttering the system with unnecessary data.

3. Make sure there are no workflows or webhooks in Jira that could push changes back to GitHub. This keeps your integration clean and prevents accidental updates.

What I’d recommend - If you’re open to going with Microsoft or Atlassian Solution partner, OpsHub Integration Manager (OIM) makes this really simple. It’s built for exactly this kind of use case where you want fine-grained control over what syncs and in which direction.

1. One-Way Sync Configuration:

GitHub → Jira: Specific changes in GitHub (such as commits, pull requests, or comments) can be mapped to Jira issues.

For example:

a. A commit in GitHub can add a comment or update the status of the associated Jira issue.

b. Pull request updates or branch merges can trigger notifications or custom field updates in Jira.

Jira → GitHub (Disabled): OIM lets you fully control which data flows to GitHub. In your case, you would configure OIM to prevent any updates from Jira being pushed to GitHub by simply excluding those operations during setup.


2. Granular Mapping of Data

· Map specific events (like commit messages or pull request activity) to predefined fields or comments in Jira.

· Customize the integration to only sync relevant updates, reducing noise and maintaining focus on actionable data.

· Use filtering to ensure only changes from specific branches or repositories trigger updates in Jira.

Example Workflow:

1. Trigger: A developer pushes a commit to a GitHub repository or comments on a pull request.

2. Sync Action:

a. OIM captures the event and syncs relevant details (commit ID, message, pull request comment) to the linked Jira issue as a comment.

b. Updates could also trigger Jira workflows, like transitioning an issue to "In Progress."

3. Controlled Flow: No action originating in Jira (e.g., issue status change, comment addition) is reflected back in GitHub.

 Let me know if you want a free demo or have any questions.

Thanks,

OpsHub team

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events