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:
Confluence - https://developer.atlassian.com/cloud/confluence/rest/api-group-space/#api-wiki-rest-api-space-post
Bitbucket - https://developer.atlassian.com/cloud/bitbucket/announcement-06-08-18-new-v2-apis/
Dan
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.