Forums

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

Is possible to add tasks without comment into a file in bitbucket?

Julio Esteves
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!
October 24, 2022

I'm creating a new pull request in Bitbucket and I want to know if there is a way to add Tasks to avoid merging without pre-conditions. After creating the new pull request, I'd like to add specific conditions for reviewers to check the Tasks after they complete the review and if they didn't finish yet, blocks the merge button (waiting for all tasks to be done).

Do you guys have any ideas if is it possible to do in Bitbucket pull requests?

 

1 answer

1 accepted

2 votes
Answer accepted
Michael Rüegg _Mibex Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2022

Hi and welcome to the Atlassian Community!

If you do not mind a separate app, you can achieve this with our Checklist Buddy for Bitbucket Cloud.

It uses configuration as code for the definition of the default task rules, which allows reviewing changes by peers, tracking changes over time and all the other benefits Git has over UI-based configurations.

To restrict default tasks for certain branches, you can use this syntax:

--target release/* +task+ Release notes ready?

Besides the configuration of the source/target branch, it is also able to create content-dependent default tasks, e.g.

--files /app/*.jsx +task+ UI changes visually inspected on IE/Edge

creates the default task only if the PR contains any React JSX files.

You can also enforce that all tasks are resolved before merging with the

"No unresolved pull request tasks" merge check in the repository settings.


For more information, please check the app documentation.

Julio Esteves
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!
October 24, 2022

Hi Michael, thank you so much for your suggestion. I will try it here! 

Michael Rüegg _Mibex Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2022

Hi Julio, you're very welcome. Let us know if you have any questions, we're happy to help!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events