Forums

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

How to associate a specific repository to a specific project in JIRA?

meena radhakrishnan
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.
April 9, 2012

I have setup 5 different projects and for each there is a separate SVN repository. Currently all the repositories are listed in JIRA under 'Subversion Repositories'.

Is there a way to associate a project with a specific SVN repository?

thanks

2 answers

1 accepted

0 votes
Answer accepted
Norman Abramovitz
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.
April 9, 2012

The current tie in between the respository and the project is the project prefix. I would suggest adding code to your subversion checkin/checkout process that would check to make sure the wrong prefix cannot be used. It is too late if the Jira background process finds this out because the damage (mixing respositories) has already been done.

Subversion supports pre and post scripts that can be executed for this validation. It is fairly easy to do, but getting the change out to users may be more of the headache depending on the number of different subversion clients you support and the number of people with access to the respository.

0 votes
JamieA
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.
April 9, 2012

You can't do that, and I don't think it should be necessary to. Each committer should only use the keys from their project, and if they're fixing a bug in another project, then fair play...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events