Stash Shared repository object between Projects

Hi All:
I'm my name is David and I'm from Argentina and my company is in middle of Stash + JIRA + Confluence implementation process using Scrum methodology.
Our issue is how we should create the projects and repositories, because our business unit works sharing the same requirements (user story) between other projects (differents managements). That's means that we can have one object modified by two different projects. I will leave a picture below like a demonstration. the text written says "Exist some kind of solution to sync the modification"?

 

thanks in advance

kind regards

 

David

20150407_172030.jpg

2 answers

0 votes

What you'll probably want to do is to pull those objects into a third repo so that you can keep track of when it changes and move the local reference up when you want to pull them in (using something like Git submobules). http://git-scm.com/docs/git-submodule

Hi Daniel, thanks a lot the answer. 

You mean that I should isolate the shared objects in a third repository? Or I should clone the duplicate objects in a third Project.

Thanks in advance

David

 

I would move it out to it's own repository. That way you can get alerted to when it gets updated etc. Part of the reason is just how Git works with the changes being global across the repository so people might do a pull just because the changeset changed when it was the shared object that was updated.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot