First thing can be done with a regexp (see gitlab.yml) but can't check if
it really is a ticket.
Second thing is available in Enterprise Edition
http://doc.gitlab.com/ee/integration/jira.html

Best regards,
Sytse Sijbrandij
CEO GitLab B.V.

On Fri, Oct 10, 2014 at 6:44 AM, Niraj Salot <salotni...@gmail.com> wrote:

> Hi Group,
>
> Does any one has created a Hook or script in Gitlab which would check
> below.
>
>
>    - Commit Message Should contain valid JIRA ticket ID. If not then
>    Reject the same while PUSH
>    - If proper JIRA ticket ID is found then post commit information on
>    the ticket with JIRA REST API support.
>
> I am real need of the same.
>
> Thanks in Advance for your help.
>
> Regards , Niraj.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gitlabhq+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/9dec6b56-a4a7-4098-a4d7-2bc5b07d1245%40googlegroups.com
> <https://groups.google.com/d/msgid/gitlabhq/9dec6b56-a4a7-4098-a4d7-2bc5b07d1245%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAJTzhG_C-RE1Uk_ZDuw6YaXH710a24fUCkApWUqEA_on7s7uyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to