Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Github Intigration

Geo De Leon January 10, 2024

We are currently using the new Github to Jira integration and leveraging automation (default) for all of our ticket creation when a security issue is found from GitHub Advanced security.

We are trying to figure out something. out of all of our repos, we have 2 that need to have instant auto assignment when those repos report an issue.

How can we accomplish this where it doesn't impact the existing issues being generated for the rest of our repos. 

1 answer

0 votes
Eugenio Onofre
Community Champion
January 12, 2024

Hi @Geo De Leon

You can do it by using Automation:

  • Create a New Automation Rule: In Jira, go to "Project settings" > "Automation" and create a new rule.
  • Choose Trigger: Select the trigger related to issue creation, like "Issue created".
  • Add a Condition: To ensure this rule only applies to the specific repositories, add a JQL (Jira Query Language) condition. This condition should check the issue's fields that contain information about the originating GitHub repository. For example: project = YourProject AND issueField = "repo_name"
    Replace YourProject and issueField with your actual project key and the field that stores the GitHub repository name.
  • Specify Repositories: In the JQL, specify the names of the two repositories you want to target.
  • Add Action for Auto-Assignment: Add an action to assign the issue. This can be to a specific user or based on a load-balancing algorithm, depending on your needs.
  • Enable the Rule: Once verified, enable the rule. It should now automatically assign issues from the specified GitHub repositories without affecting others.

Please remember to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,
Eugenio

Suggest an answer

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

Atlassian Community Events