Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira to Bitbucket integration usecase

Abhik Dey I'm New Here Jul 29, 2021

Hello Team,

I want to implement the below use case using Jira. Request you to kindly suggest if it is an acceptable use-case. Also I would like to know how it can be implemented. If this is not acceptable, can you suggest how to implement similar use-case - 

The use case I want to implement requires integration from Jira to Bitbucket. I am aware how Bitbucket to Jira integration happens using workflows. Also I am not considering the negative cases right now and assuming that build and deployment is always successful- 

Major branches - dev, qa, uat, production and master

1. Open a Jira Ticket and assign it to developer

2. Developer creates a branch (feature/<ticket #>) from Jira to bit-bucket (Its implemented)

3. Once development is complete, the developer creates a branch (eg. - deploy/dev/<ticket#>) and raises pull request. The status in Jira should change to dev-deploy (as example)

4. On successful merge in dev branch, status changes to Dev Testing. Here I want to trigger an email from Jira to the ticket requestor to test in dev environment 

5. On successful dev testing, the requestor changes the status to Deploy-QA (Quality Assurance). In this state I want a branch to be created (like deploy/qa/<ticket number>) from branch (feature/<ticket #>) and raise a pull request to QA environment in bitbucket from Jira 

6. On successful merge in qa branch, status changes to QA Testing. Here I want to trigger an email from Jira to the ticket requestor to test in qa environment 

7. On successful qa testing, the requestor changes the status to Deploy-UAT. In this state I want a branch to be created (like deploy/uat/<ticket number>) from branch (feature/<ticket #>) and raise a pull request to UAT environment in bitbucket from Jira

8. On successful merge in uat branch, status changes to UAT Testing. Here I want to trigger an email from Jira to the ticket requestor to test in UAT environment

9. On successful UAT testing, the requestor changes the status to Deploy-Prod. In this state I want a branch to be created (like deploy/prod/<ticket number>) from branch (feature/<ticket #>) and raise a pull request to production environment in bitbucket from Jira

10. On successful merge in production branch, status changes to Prod-Deployed. Here I want to trigger an email from Jira to the ticket requestor to verify the changes in prod environment.

11. If the ticket is working as expected in Production, requestor will change it to complete status. On complete status, a pull request should be raised to merge the code in master branch

Please let me know if this can be implemented. Also if you have a better idea please let me know.

 

Regards,

Abhik 

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Posted in Trello

Taco Tuesday: Your favorite Trello blog takeaway

Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...

43 views 1 3
Join discussion

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