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

Does JIRA support a post-pull hook?

Jeromy French Sep 10, 2014

TL;DR:

"Unconnected laptops A and B execute commits, then push/pull code to/from USB drive, then connected machine C pulls synch'ed code from USB drive. Only machine C has access to JIRA. Since there is no commit on C, is there a way to use a post pull hook on C to process Jira issues?"

Details

Our development team performs in a challenging nearly-network-free development environment (think "secure location"). We take advantage of Git's distributed set up to provide version control to each of the developers–though even this wouldn't be possible without the use of a USB drive! (Each developer has a stand-alone environment on his/her laptop; commits are executed locally and pushed/pulled to a Git `remote` which maps to the USB drive. It's nuts.)

I see that it's possible to integrate Git with JIRA via a post-commit hook. In our case, the individual developers cannot "see" JIRA. But it's possible our USB drive, with its full repository history goodness, would be able to.

Is there some sort of post-pull hook, or other mechanism, that would allow developers to process batches of commits and therefor process the smart commits contained therein?

1 answer

0 votes
Dan Rue Sep 10, 2014

At what point are those USB drives reconciled and integrated with each other into some shared location? I think that may be the point when a JIRA integration could take place.

You could install local hooks to validate the commits as they're pushed to the USB drive, but without connectivity to JIRA I'm not sure you could do any post-push processing at that time.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,374 views 3 22
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