Forums

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

Updating Customer Request Type in Jira Cloud via a script

Beth Starr June 14, 2018

When the issue type changes on a Jira Service Desk Request the Request type is changed to No match.  We need a script to run that will update the Request type if the issue type changes.  Automation will not work if the issue type changes so that is not an option, JWME will not work because the Set Field Value post-function cannot set the Customer Request Type field is because Atlassian doesn't offer a REST API for that.  Is there a way we can use scriptrunner to update the request type field if the issue type changes?

 

1 answer

1 accepted

1 vote
Answer accepted
Kristian Walker _Adaptavist_
Community Champion
June 21, 2018

Hi @Beth Starr,

I can confirm that ScriptRunner for Jira Cloud does not currently provide the functionality to set the Request Type Field as no Rest API exists from Atlassian for setting Request Types.

The reason for that is that the cloud version can only make changes to Jira via the Atlassian Rest API's as cloud does not have a Java API like the server version does.

This is described in more detail in the documentation page located here.

If this answer has solved your issue can you please accept it in order to mark this answer as correct for users who are searching for a similar issue.

Regards,

Kristian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events