Forums

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

How to handle declined GitLab MRs in Jira Automation?

Guelmis Martínez July 26, 2023

I'm looking for recommendations on the best way to automatically transition a Jira issue to "Rejected" when the linked GitLab merge request is declined.

The main constraint is that GitLab only includes "open" and "closed" states for MRs. There is no distinct "declined" or "rejected" state sent and they only have open threads to prevent a merge from happening. At least to my knowledge extent.

I'd love any suggestions from the community on how you have auto-handled declined merge requests using Jira Automation and GitLab events.

What is the cleanest approach? Is there a way to reliably infer a decline without introducing many false positives?

Alternatively, should I handle declined MRs through a different Jira workflow?

Any guidance is much appreciated! I'm sure others have faced similar issues syncing GitLab and Jira states.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events