DVCS smart commits do not work
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
This solution no longer applies after JIRA 6.3 and the DVCS Connector 2.1. Since those versions the timer is set by the system propertydvcs.connector.scheduler.interval.
Solution
Problem
When using the DVCS plugin with JIRA, the Smart Commits do not process.
Resolution
ℹ️ Make sure you've completed the setup on Enabling DVCS smart commits.
Repository smart commits are processed on a timer. By default the timer is set for processing of smart commits every 60 minutes. You can change the timer by changing the service delay.
Navigate to 'Administration' > 'System' > 'Advanced' > 'Services' (tab) to open the 'Services' page.
Keyboard shortcut: 'g' + 'g' + type 'servi'
Change the com.atlassian.jira.plugins.dvcs.scheduler.DvcsScheduler:job service
In order for smart commits to process correctly, you will have to wait for the service to run based off the timer. If you try to force the sync manually from your attached repository, the smart commit will not be processed, and the commit has to be synced automatically. This is currently because of a bug in the DVCS plugin: BBC-241
Was this helpful?