Git Integration for Jira Self-Managed (Data Center/Server) Documentation

Contact Support
GitKraken Status  

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 IssuesAssociationRequest().addLink("TST-6"));
Have feedback about this article? Did we miss something? Let us know!
On this page