[ 
https://issues.apache.org/jira/browse/SVN-4618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Martin closed SVN-4618.
------------------------------
    Resolution: Fixed

> Pre-Commit hook JIRA
> --------------------
>
>                 Key: SVN-4618
>                 URL: https://issues.apache.org/jira/browse/SVN-4618
>             Project: Subversion
>          Issue Type: Task
>          Components: svnadmin
>         Environment: Production and Development servers
>            Reporter: Ajjaiah Nagarajappa
>              Labels: pre-commit, shell-script, svn
>
> Hi Team,
> I need a help in creating pre-commit hook in shell script for JIRA.
> Requirement is :
> 1. When user try to check-in changes to repository, it should ask log-message 
> to enter with JIRA ticket number.
> 2. i will be having having my repository root template like below,
> trunk
> tags
> archive
> jira
> Under jira, i will be having "jiralist.txt" file which contains JIRA ticket 
> which are in open status.
> as like below format
> JIRA-123;assignee name;Jira Description;status;
> What my pre-commit shell script should do is.
> It has to check log-message first as there is JIRA ticket provided in log, if 
> it is exist then, it as to check if that is available at "jiralist.txt", if 
> yes then only it should allow commit.
> Else it should throw an error saying "No Valid ticket mentioned on log"
> Can anyone please help with this.
> Thanking in advance... 
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to