Forums

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

I wish to use an central template, and project based template.

shiva raj
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 30, 2025

My Central template has below

export: true

definitions:

    steps:

        - step &1

        - step &2

        - step &3

pipelines:

    master:

        - step *1

        - step *2

 

Project based template:

pipelines:

    branches:

        master:

            import: shared-pipeline:branch:master

Now my question is can i create project specific steps in the project based template if so whats the syntax.

 

Thanks

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 1, 2025

Hi @shiva raj and welcome to the community!

Are you looking to add additional steps to the master pipeline of the project based template? (If not, please provide more details on what exactly you are trying to do, so I can better help you.)

If so, since you are using an imported pipeline, you can achieve this with parent/child pipelines:

A sample yml file is the following:

pipelines:
branches:
master:
- step:
type: pipeline
custom: imported-child-pipeline
- step:
script:
- echo "step 2"
- step:
script:
- echo "step 3"
custom:
imported-child-pipeline:
import: shared-pipeline:branch:exported-pipeline

Would this work for you? Please keep in mind this feature has some limitations, which are mentioned in the blog post I shared.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events