Migration to another server

The following instructions are for migrations of Jira to a different server. See Upgrades and migrations within same server instructions […]

Data Center and Server Home

Everything you need to know about Git Integration for Jira on Data Center and Server. Check out the introduction video […]

Javadocs example – Updating an integration

import com.onresolve.scriptrunner.runner.customisers.WithPlugin import com.onresolve.scriptrunner.runner.customisers.PluginModule @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.services.GIJFacade; @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.services.integration.IntegrationType; @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.rest.integration.IntegrationRequest; @PluginModule GIJFacade gijFacade; int REPO_ID = 26; […]

Javadocs example – Update commmit issues associations

import com.onresolve.scriptrunner.runner.customisers.WithPlugin import com.onresolve.scriptrunner.runner.customisers.PluginModule @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.services.GIJFacade; @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.rest.publicmodels.IssuesAssociationRequest; @PluginModule GIJFacade gijFacade; int REPO_ID = 1; gijFacade.updateCommitIssueChanges(REPO_ID, “ec43e12cda0fa4f021d4dead8eadb8781efbb4b0”, new […]

Javadocs example – Start sync reindex of a repository

import com.onresolve.scriptrunner.runner.customisers.WithPlugin import com.onresolve.scriptrunner.runner.customisers.PluginModule @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.services.GIJFacade; @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.rest.publicmodels.IndexStatusResponse; @PluginModule GIJFacade gijFacade; int REPO_ID = 1; gijFacade.doReindexSynchronized(REPO_ID);

Javadocs example – Start reindex of a repository

import com.onresolve.scriptrunner.runner.customisers.WithPlugin import com.onresolve.scriptrunner.runner.customisers.PluginModule @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.services.GIJFacade; @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.rest.publicmodels.IndexStatusResponse; @PluginModule GIJFacade gijFacade; int REPO_ID = 1; gijFacade.doReindex(REPO_ID);

Javadocs example – Get reindex status

Example of a script pinging reindex status import com.onresolve.scriptrunner.runner.customisers.WithPlugin import com.onresolve.scriptrunner.runner.customisers.PluginModule @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.services.GIJFacade; @WithPlugin(“com.xiplink.jira.git.jira_git_plugin”) import com.bigbrassband.jira.git.rest.publicmodels.IndexStatusResponse; @PluginModule GIJFacade gijFacade; […]