Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to stop jira task link?

hello,

I linked between push and commit comments that have to include jira issue number.

so now no commit (actually push) is possible without adding an issue string (including number) to the comment of the commit(s). 

but how can I prevent using the same jira issue from the commit comment?

my jira prefix looks like this "XVIS-" and then a number. for example, "XVIS-123". 

so some developer needs to add this text "XVIS-123" to relevant commit. 

but if my teammate continue to use this text "XVIS-123" in other small commits that don't belong to the issue it self. he does it just to go over the restriction of not able to push with out this text in the comment of the commit. 

so my question is how can I prevent push with text of an issue that is, for example, in "done" state? or any other solution???

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,738 views 4 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you