Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Can we create jira ticket from bitbucket pipeline?

I need to create a ticket from the pipeline. From the approval of the ticket, we need to trigger the next step. Is it possible? and suggestion, please.

1 answer

1 accepted

1 vote
Answer accepted
Patrik S Atlassian Team May 19, 2022

Hello @Joel Stephen ,

Thank you for reaching out to Atlassian Support!

In order to create Jira issues from within your pipeline build, I would suggest using the pipe jira-create-issue. Pipe is a simple way to configure your pipeline, especially when integrating with other tools/products, as you usually just have to configure a few variables and the rest is already implemented for you.

Following is an example of using jira-create-issue pipe to create a new Jira issue : 

  - echo "This is an example step"
pipe: atlassian/jira-create-issue:0.2.0
      JIRA_ISSUE_SUMMARY: "This is a sample issue summary"

For more examples and details on how this pipe can be configured, you can refer to its public documentation below : 

In regards to triggering a pipeline after the respective Jira issue is approved, I'm afraid this is currently not possible. However, in case you want some of the steps to require manual intervention to start, you have the option to use  trigger: manual in your YML file, like the below example  : 

 - step:


    - npm build

- step:

        name: Deploy to production

        trigger: manual


          - ./


Hope that helps to clarify your questions. In case you have any doubt, please let me know.

Thank you, @Joel Stephen !

Kind regards,

Patrik S

Thanks @Patrik S for your suggestion.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,232 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you