Forums

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

How to validate certain files are modified on a path in bitbucket/stash

dineshav
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!
September 22, 2019 edited

Hello Friends,

 

  I need to write a groovy script that will validate a path during pullrequest/merge that certain files has been modified, if yes it should reject the merge.

 

example:

 

 Lets say, "properties" directory has got list of file, file-a, file-b, file-c and file-d. And if any one of this file got modified, merge should be allowed, if more than one file is modified it should reject the merge.

Could you please advise ?

 

Thanks in Advance

Dinesh

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events