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
Daniel Wester Community Champion Apr 08, 2015

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

 

Daniel Wester Community Champion Apr 08, 2015

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 Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

419 views 7 5
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