Update issue action in GitHub package

The Update issue action updates the details of a specific issue in a GitHub repository.

Overview

The Update issue action updates the details of an existing issue in a GitHub repository using the issue number. You can update the issue state, title, description, labels, and assignees. Optionally you can also update the title, description, labels and assignees of the issue.

Note: Ensure that the Connect action is configured before proceeding with the List issues as the Connect action provides the authentication context for the automation session.

Settings

The Update issue action contains the following settings:

Note: All the input fields support string variables. You can create a string variable to hold the appropriate text string and select it in the applicable setting and option.
Session name

Specifies the GitHub session name that the Connect action creates. Use one of the following options to specify the session name:

  • Session name: Enter the session name as text directly or select the string variable that holds the session name text.
  • Variable: Select the GitHub session variable that the Connect action creates.
Owner name
Specifies the name of the GitHub repository owner. The owner can be an organization or a user account.
Repository name
Specifies the name of the GitHub repository in which the action updates the issue.
Issue number
Specifies the issue number to update.
State
Specifies the state to assign to the issue. Select one of the following options:
  • Open: Select to set the issue state to open.
  • Closed: Select to set the issue state to closed.
Title (optional)
Specifies the updated title of the issue.
Description (optional)
Specifies the updated description of the issue.
Labels (optional)
Specifies the updated labels for the issue. You can specify multiple labels using comma-separated values. If you are using string variables for defining multiple labels, ensure that you define the variables individually and add them in comma-separated format.
Assignees (optional)
Specifies the updated assignees for the issue. You can specify multiple assignees using comma-separated values. If you are using string variables for defining multiple assignees, ensure that you define the variables individually and add them in comma-separated format.
Assign output to the variable
Specifies the boolean variable in which the action stores the status of the update. The action returns the status true for successful update and false if the update fails.