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

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

My automation rule is not triggered

Hi everyone !

I'm trying to set a transition with automation rule, but it seems to never be triggered.

The rule contains 3 components :

When commit is created

if state is equal to "à dev"

then Make transition to the state "En cours de dev"

 

I proceeded as follows :

- I created an integration on my self-managed Gitlab with Jira using an api token made with my Athlassian account. => with that I could see my commits and MR when I commented them with my issue ID.

- I created an "application" Jira-integration on my gitlab user settings => this provided me the informations for the next step.

- I created a DVCS account on Jira with my self-managed Gitlab => My project is visible, synchronized and "Smart commits" are enabled.

- I created the automation rule described above => The automation rule is active, on my project, and using the "Automation for Jira" user.

 

Some additional informations :

- I can see the "Development" section in the side panel of my Jira issue

- In this same side panel when I click on "Rule executions" it says "No automations available."

- But then when I click on "Manage rules" it shows me my rule, activa

1 answer

0 votes
John Atlassian Team Jul 04, 2021

Hi @Raphaël NORYNBERG 

Are you including the Jira ticket number in your commit? The issue key lets Jira know which issue the commit belongs to.

We have a webinar avialable which goes into detail on how to connect Jira and GitLab leveraging automation https://www.youtube.com/watch?v=vYlXRl7vIsQ

Also a quick note, the side panel in the Jira Issue view only shows manual triggers (i.e. automations that aren't triggered off an event). Your automation won't show up here as the trigger runs off the commit created event.

Let me know how you go,

John

HI @John

Yes I'm including the Jira ticket number, and all my commits appear on the ticket by the way, in the "comments" section.

I'm going to watch the webinar, to see if I can find something, and I'll go back to you.

 

Thanks,

Raphaël

Hi @John 

I saw the video, but my configuration is made with a self-managed Gitlab, so I can't use the Gitlab App on the Atlassian store. As I precised it above, I had to create the integrations myself.

But now that you know I use the Jira ticket number in my commits, and that I do see them on the comments, do you have any other ideas ?

 

Thanks in advance,

Raphaël

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

68 views 0 6
Read article

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