You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I've been looking at the available actions for Automation, and I'm not sure the functionality is there, that I'm looking for. I wonder if something else might be a better solution. Actions needed include the following, after approval:
Hi @Tim Chaffin
So it would be great to understand what the 'approval' process is for you. But in theory if the approval was to create a Jira project for example Then you can use the webhook action to create all of the items you need to. We use Similar actions to create projects/spaces repos etc. when a service request ticket is approved.
You can use something like:
I would check out the api docs for each tool below. I'm more then happy to help you out on creating this rule:
Apologies, approval in this case would be a request through Jira Service Management, that after approved, would kick off the automation. In this case, that could easily be a particular state the request could transition to, like you've illustrated here.
Ideally at the forefront of the request, a form would exist, to capture intake variables and use as smart variables throughout the automation too.
I'm with you on the same page when it comes to sending web requests, this would be pretty easy for creating a Jira project or a Confluence space.
What I'm still hung up on is committing code to an Infrastructure as Code project. Creating the Atlassian resources can be done pretty easy with the Web Request feature. But what I need is to go into a Bitbucket workspace/repository, and append a file through git. Basically, this would be a Terraform file, and using variables captured from the form, add a new cloud resource in code, and let the repository Pipeline take it from there.
Automation cannot currently trigger on project creation, but you could do it on say version created. You could then have a initial version that is always created when you create a project. You would have to use REST API calls, since automation in Confluence cannot create a new space, and Bitbucket doesn't have automation yet.
You actually can trigger on project creation (relatively new). It is only in global obviously.
with that said only GitHub supported AFAIK. Correction, creating of repo not an option but you can create a new branch for your project.