Forums

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

My automation rule is not triggered

Raphaël NORYNBERG
Contributor
July 2, 2021

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
JD
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 4, 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

Raphaël NORYNBERG
Contributor
July 4, 2021

HI @JD

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

Raphaël NORYNBERG
Contributor
July 5, 2021

Hi @JD 

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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events