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

Default Pull Request Tasks: More control.

mark_gillespie
Contributor
October 5, 2022

Really like the default tasks for pull requests feature in the latest Bitbucket release, however for large codebases, the tasks need to be very generic.

 

I was hoping there would be some way to add conditions, e.g. if files in a particular folder or namespace have changed, or file changes with a wildcard or regex.


Is that something on the plan?  It would make this feature really useful, as sadly at the moment, it's quite limited.

1 answer

1 vote
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 5, 2022

Hi,

You could use our app Checklist Buddy for Bitbucket which supports adding different PR tasks based on the PR file content.

It uses configuration as code with rules for default tasks.

Here's an example: to have different default tasks when a PR contains *.js files, just add this rule

--files *.js   +task+  UI changes visually inspected on [Firefox](https://www.mozilla.org/en-US/firefox)

As you can see, file pattern similar to .gitignore are supported to specify conditions for the files in the pull request. You can use markdown for the default task descriptions.

For more details, check our documentation.

Let us know if you have any questions.

Best regards,

Michael

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events