Search

Update Status

Last Updated: Nov 4, 2020

Articles

Use this function to change the status of the ticket.

Syntax

Update Status (token, url, username, issue_key, status_id)

Parameters

Input Parameter Name Description
token JIRA API token
url JIRA URL
username JIRA username
issue_key Key of the Issue
status_id ID of the status to be updated

Returns

Return Value Description
Output
  • On Success: 1, Status Updated Successfully
  • On Failure: 0, Error Message

Sample

Update Status (https: //yourusername.atlassian.net, ABCDCEF, yourname@gmail.com, EX-30, ST-56)

  • Uses the token ‘ABCDEF’ to connect to JIRA with the url ‘https: //yourusername.atlassian.net’ with the username ‘yourname@gmail.com’, updates the status with ID ‘ST-56’ in the issue ‘EX-30’.
    Returns ‘Status Updated Successfully’ on updating the status.

To view all the JIRA functions, click here.

Did you find what you were looking for?