Update Issue

Last Updated: May 10, 2022


Use this function to update the fields related to a JIRA issue.


Update Issue (token, url, username, issue_key, summary, description, environment, issue_type, assignee, labels, priority)


Input Parameter Name Description
token JIRA API token
username JIRA username
issue_key Key of the Issue
summary Ticket summary
description Ticket description
environment Example: QA, PROD etc.
issue_type Type of the issue
Example: Bug, Task, Test, Epic, etc.,
assignee ID of the assignee
labels Label(s) to attach with the issue
priority Issue priority

  • To know more about token, click here.
  • You can find the Assignee ID in the URL when you login to your Atlassian account. The URL is of the format: https://<JIRA URL>/jira/people/<Assignee ID>.


Return Value Description
  • On Success returns 1 | Issue Updated Successfully
  • On Failure returns 0 | Error Message


Update Issue (ABCDCEF, https: //,, Ex-30, Summary, Issues in JIRA, QA, Bug, 12345, Issue, P3)

  • Uses the token ABCDEF to connect to JIRA with the url https: // with the username, updates the issue EX-30 with the description Issues in JIRA and summary Summary in the QA environment with priority P3, type Bug and label Issue and assigns it to the ID 12345.
    Returns Issue Updated Successfully on updating the issue.

To view all the JIRA functions, click here.

Did you find what you were looking for?