Hi Friends,
My use case is based on the "Specific commit message in Jira, build should trigger in Bamboo.
For example, creating/updating the comment like "Build the Bamboo plan" in Jira, Bamboo should trigger the build.
For other comments in Jira, it should not trigger the build.
Following are the steps taken,
I have created the webhook in Jira, eg) comment ~ "\"Build the Bamboo plan\"".
first time, if I give comments like "initiate build" --> Bamboo build was not triggered.
if I give the comments like "Build the Bamboo plan" --> build triggered
Now, if I give the comments like "initiate the build" --> Build is triggered (which should not happen)
Can anyone kindly help on the above scenario.
Regards,
Sangeetha K
With the combination of the Automation for Jira (A4J) and Better DevOps Automation apps you could create an automation rule for this use case:
This could work for any major CI/CD system:
Disclaimer: I am a developer working on the second app used for this answer.
Hey @sangeethakannan
you can of course create an automation like that, but I would be careful in your situation.
However, if you really are trying to achieve this, you could use Automation for Jira Pro or ScriptRunner for Jira for that purpose, depending on what you already have.
In there, listen to the Issue Updated Event and check for changes in the comments body, using a regex. Then, if that was a match, fire a webhook or execute a script that fires a webhook.
You can also create new buttons in the More Menu of your issue, this way you would have a more controlled way of executing your build.
Cheers,
Andrej from greenique
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.