Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Auto issue creation using JIRA automation

I have integrated JIRA with gitlab and created a rule in JIRA to create issue when build fails.

But when  build fails in gitlab issue is not getting created in JIRA automatically.

What should I  do to auto create issue?

1 answer

1 accepted

0 votes
Answer accepted

Hi @Sakura Yamada  -- Welcome to the Atlassian Community!

For a question like this, please consider posting an image of your rule and an audit log entry showing an execution which does not behave as you expect.  That will provide some context for the community to advise you.  Thanks!

Best regards,


Thanks for replying. I am sharing the images for audit log and for rule. Untitled.pngUntitled1.png

Hi @Sakura Yamada ,

Can you please provide some more details and show us how you've configured your gitlab integration in Jira?

Also can you show us a screenshot of the failing build that should have triggered this rule?


Shared the screenshots for the Gitlab-JIRA integration. Also shared screenshot for build failure. I kept build name as blank (for all the builds) while creating rule. Also tried this automation for other pipelines but not able to trigger the rule. Please suggest me to solve this issue as soon as possibleBuildfailed.pngBuildfailed1.pngIntegration Screenshot.pngIntegrationSS1.png

Thanks - and just to confirm this is a installation (not the server/on-premise version of gitlab) correct?

With the build above, where there actually any issue keys in context? Did the branch or commit message include a valid issue key in Jira?

Automation rules will only trigger if there's an issue in context of the build.

To confirm that's working can you go to the issue you mentioned and show me the development panel there? It should show the related build (that failed).

Yes this is the installation.

And I am trying to create a issue when the build fails. So how to mention issue key before creating issue?

Can you please tell me the procedure if I am missing something? I have not mentioned issue key anywhere as I am going to create the issue automatically when build fails.

Thanks for clarifying that.  Yeah so currently this wont work since we only trigger automations if an issue key was mentioned in the commit/branch/build.

If you want to create an issue from scratch, then you'd have to setup a webhooks to do so.

So in Gitlab, configure an outgoing webhook when a build fails (not sure if this is possible) and then setup a rule in Automation like this:

  • Trigger: Incoming webhook
  • Action: Create issue

Hope that helps.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you