congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IssueRestClient.updateIssue
Code IndexAdd Tabnine to your IDE (free)

How to use
updateIssue
method
in
com.atlassian.jira.rest.client.api.IssueRestClient

Best Java code snippets using com.atlassian.jira.rest.client.api.IssueRestClient.updateIssue (Showing top 4 results out of 315)

origin: jenkinsci/jira-plugin

public void updateIssue(String issueKey, List<Version> fixVersions) {
  final IssueInput issueInput = new IssueInputBuilder().setFixVersions(fixVersions)
                             .build();
  try {
    jiraRestClient.getIssueClient().updateIssue(issueKey, issueInput).get(timeout, TimeUnit.SECONDS);
  } catch (Exception e) {
    LOGGER.log(WARNING, "jira rest client update issue error. cause: " + e.getMessage(), e);
  }
}

origin: jenkinsci/jira-plugin

public void setIssueLabels(String issueKey, List<String> labels) {
  final IssueInput issueInput = new IssueInputBuilder()
      .setFieldValue(IssueFieldId.LABELS_FIELD.id, labels)
      .build();
  try {
    jiraRestClient.getIssueClient().updateIssue(issueKey, issueInput).get(timeout, TimeUnit.SECONDS);
  } catch (Exception e) {
    LOGGER.log(WARNING, "jira rest client update labels error for issue "+issueKey, e);
  }
}    

origin: jenkinsci/jira-plugin

public void setIssueFields(String issueKey, List<JiraIssueField> fields) {
  IssueInputBuilder builder = new IssueInputBuilder();
  for (JiraIssueField field : fields)
    builder.setFieldValue(field.getId(), field.getValue());
  final IssueInput issueInput = builder.build();
  try {
    jiraRestClient.getIssueClient().updateIssue(issueKey, issueInput).get(timeout, TimeUnit.SECONDS);
  } catch (Exception e) {
    LOGGER.log(WARNING, "jira rest client update fields error for issue " + issueKey, e);
  }
}

origin: org.jboss.set/jboss-aphrodite-jira

issueClient.updateIssue(jiraIssue.getKey(), update).claim();
if (!JiraFields.hasSameIssueStatus(issue, jiraIssue)) {
  String transition = getJiraTransition(issue, jiraIssue);
com.atlassian.jira.rest.client.apiIssueRestClientupdateIssue

Javadoc

Update an existing issue.

Popular methods of IssueRestClient

  • getIssue
    Retrieves issue with selected issue key, with specified additional expandos.
  • createIssue
    Creates new issue.
  • getTransitions
    Retrieves complete information (if the caller has permission) about transitions available for the se
  • transition
    Performs selected transition on selected issue.
  • addComment
    Adds a comment to JIRA (adding it to selected issue)
  • getCreateIssueMetadata
    Retrieves CreateIssueMetadata with specified filters.
  • linkIssue
    Creates link between two issues and adds a comment (optional) to the source issues.

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • ImageIO (javax.imageio)
  • BoxLayout (javax.swing)
  • JButton (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now