nayananga@nayananga-Aspire-E5-575G:/opt/lampp/htdocs/registration$ git push 'https://nayanangamuhandiram@bitbucket.org/group4suoj2016/version-1.0.git' 'nayananga`s_branch' Password for 'https://nayanangamuhandiram@bitbucket.org': Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (5/5), 1.02 KiB | 1.02 MiB/s, done. Total 5 (delta 0), reused 0 (delta 0) remote: remote: One of your commit messages is missing a valid issue key: remote: remote: 3517c56: CompleteUserRegistrationUsingPhpAndMysqlDatabase remote: remote: For more information, see https://confluence.atlassian.com/x/ZwjoE. remote: To https://bitbucket.org/group4suoj2016/version-1.0.git ! [remote rejected] nayananga`s_branch -> nayananga`s_branch (pre-receive hook declined) error: failed to push some refs to 'https://nayanangamuhandiram@bitbucket.org/group4suoj2016/version-1.0.git'
i get an error like this any help?
Hi @nayanangamuhandiram
In case you enable the Require issue keys in commit messages feature in your repository settings, you will need to include issue key in your commit message.For example:
git commit -m "ISSUE-1234 Commit message"
And this is why you're receiving this error, you didn't mentioned a issue key in your commit.
See documentation related: Link to a web service
You may want to disable the Require issue keys in commit messages setting under your repository settings > Links (Under workflow) > Click the toggle button to turn it off.
Let me know if this helps!
Gabi
I have same error ! But I can't turn it off
@Gabriele Franck tried
but it's not working, pls help
It looks like you're new here. Sign in or register to get started.