Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Automation - Cancel Incident

Kyall Fordham-Weir October 19, 2018

With our current set up, we are using the mail handler in order to raise JIRA issues from an ITSM instance. 

Along side this, we use a number of automations (running on issue creation) to populate fields from the 'summary' field of the JIRA Issue. 

However, it has come to light that as tickets are managed in ITSM, duplicate versions are being created within JIRA. We are able to identify these with use of JIRA automation and assign a label and comment to these.

Ideally, we would like to be able to close them (using the Close/Cancel Task(s)) option within our work flows. 

As the JIRA Automation does not allow a transition to this state, we are looking into using the 'advanced' field to add JSON to set the status to '6' (which I believe  is the cancelled status).

Currently, this does not work. and the audit log states that the field 'Status' cannot be found. 

Has anyone attempted this before? or knows that is wrong with the below JSON?

 

{
"fields": {
"status" : "6"
}
}

 

P.S - I have previously written an automation to assign a Tempo Team to an Issue. Within the JSON of the incident (viewed directly) the 'Team' field (appearing as customfield_10014) contains 4 variables. setting the 'ID' alone (declaring it as the status is above) has worked. 

0 answers

Suggest an answer

Log in or Sign up to answer