Not sure why but we have intermittent failures of the post-commit hook that creates the bi-directional link between the Stash commit and the Jira issue. The commit msg clearly states the correct issue key but the link is not established. What is the quickest, preferabably end-user-executable, way to retro-actively establish the link?
Less preferable but also helpful would be an admin-level, Git-savvy approach.
There may be several reasons why the link doesn't show up. To figure out what's going on, could you tell me:
If the links are missing on both sides, it's likely that there's an issue with the indexing of commits on the Stash side. If you are seeing the links in Stash but not in JIRA, it could be a permissions issue where the JIRA user doesn't have read access. Alternatively, if the commit only exists in a forked repository, it won't show up on the JIRA issue. See https://jira.atlassian.com/browse/STASH-3403and https://jira.atlassian.com/browse/STASH-4541. We plan to improve the indexing of forks in a future release, but currently forks are only partially indexed for performance reasons.
Cheers,
Michael
Hi Michael,
Thanks for the quick reply. What we're seeing in intermittent. Screen shot show same user, two different commits, both with same issue key, immediately after each other. One gets the link, then next does not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That sounds like an issue with either the changeset indexing or the git hook on the Stash server. Can you open a Stash support request on https://support.atlassian.comand reference this answers thread? Please upload a support zip (Administration > Support tools) so we can have a look at your logs to find the cause.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.