Tabnine Logo
IssueRestClient.transition
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: jenkinsci/jira-plugin

public Issue progressWorkflowAction(String issueKey, Integer actionId) {
  final TransitionInput transitionInput = new TransitionInput(actionId);
  final Issue issue = getIssue(issueKey);
  try {
    jiraRestClient.getIssueClient().transition(issue, transitionInput).get(timeout, TimeUnit.SECONDS);
  } catch (Exception e) {
    LOGGER.log(WARNING, "jira rest client process workflow action error. cause: " + e.getMessage(), e);
  }
  return issue;
}
origin: OpenNMS/opennms

  jira.getIssueClient().transition(issue, new TransitionInput(transition.getId(), comment)).get();
} catch (InterruptedException | ExecutionException e) {
  throw new PluginException("Failed to get resolve issue with id:" + issue.getId(), e);
  jira.getIssueClient().transition(issue, new TransitionInput(transition.getId(), comment)).get();
} catch (InterruptedException | ExecutionException e) {
  throw new PluginException("Failed to reopen issue with id:" + issue.getId(), e);
origin: org.opennms.features/jira-troubleticketer

  jira.getIssueClient().transition(issue, new TransitionInput(transition.getId(), comment)).get();
} catch (InterruptedException | ExecutionException e) {
  throw new PluginException("Failed to get resolve issue with id:" + issue.getId(), e);
  jira.getIssueClient().transition(issue, new TransitionInput(transition.getId(), comment)).get();
} catch (InterruptedException | ExecutionException e) {
  throw new PluginException("Failed to reopen issue with id:" + issue.getId(), e);
origin: org.jboss.set/jboss-aphrodite-jira

for(Transition t : issueClient.getTransitions(jiraIssue).get()) {
  if(t.getName().equals(transition)) {
    issueClient.transition(jiraIssue, new TransitionInput(t.getId())).claim();
com.atlassian.jira.rest.client.apiIssueRestClienttransition

Javadoc

Performs selected transition on selected 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
  • addComment
    Adds a comment to JIRA (adding it to selected issue)
  • updateIssue
    Update an existing 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

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JTable (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • From CI to AI: The AI layer in your organization
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