March 28th 1 PM ET
Free Workshop: Escape the chaos of context-switching

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

ScriptRunner – Javadocs – Class PullRequest

Pull Request information.

Summary

Constructors

Visibility Signature
public PullRequest()
public PullRequest( String id, String title, String description, String baseBranch, String compareBranch, String state, String url, Repository repository)

Methods

Type and modifiers Method signature
public String getBaseBranch()
public String getCompareBranch()
public String getDescription()
public String getId()
public Repository getRepository()
public String getState()
public String getTitle()
public String getUrl()

Constructors

PullRequest()

PullRequest(String, String, String, String, String, String, String, Repository)

Methods

getBaseBranch()

Returns the pull request base branch.

getCompareBranch()

Returns the pull request compare branch.

getDescription()

Returns the pull request description.

getId()

Returns the pull request id.

getRepository()

Returns a repositry the pull request belongs to.

getState()

Returns the pull request state, e.g. OPEN, MERGED, CLOSED.

getTitle()

Returns the pull request title.

getUrl()

Returns url to the pull request on a git server.

Have feedback about this article? Did we miss something? Let us know!
On this page