Forums

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

How to set a request type as default in the TYPE field in create issue screen?

Nasim Chowdhury
Contributor
February 5, 2021

Hi, the TYPE field in our create screen let us chose a Issue type or a Request type. We want to create all our issues with the request type. But the field default is the issue type. So anybody forget to change it and create a issue ,we have to go back and change it. Is there any way we can set the Request type as default for this field?

Thank you

1 answer

1 accepted

0 votes
Answer accepted
Manuel Galván
Contributor
February 7, 2021

You can use scriptrunner behaviours

Kristian Walker _Adaptavist_
Community Champion
February 8, 2021

Hi Nasim,

I can confirm that if you are using Jira Cloud then currently the Behaviours feature does not exist as we currently don't have this in the cloud version of ScriptRunner but this is something we are looking to add in future as shown in our public backlog here.

I can confirm that the Request Type field is what is designed to be used in the Jira Service Desk Customer Portal and Jira will mandate an Issue Type is specified when using the standard create screen in Jira.

However, if you wanted to automate setting this after an issue is created then you could look to use an Automation rule using Automation for Jira which is built into Jira Cloud or you could use a Script Listener with ScriptRunner for Jira Cloud.

Regards,

Kristian

Nasim Chowdhury
Contributor
February 12, 2021

I tried to create an automation which will Triger after each ticket and if the Request type=empty , then set request type. But it does not allow me set the request type. I get an error : 

"Sorry, but changing the Customer Request Type is currently not possible, since Jira Service Management does not provide an API for this."

Automation does not work for this.

Kristian Walker _Adaptavist_
Community Champion
February 12, 2021

Hi Nasim,

Can you please confirm did you try creating this with Automation for Jira or with ScriptRunner for Jira Cloud?

Regards,

Kristian

Nasim Chowdhury
Contributor
February 12, 2021

Hi Kristian, i tried Automation for Jira. The idea was to set the Request Type automatically after the creation of an issue( if it was created without the request).

Thanks.

Kristian Walker _Adaptavist_
Community Champion
February 12, 2021

Hi Nasim,

I am unsure on automation but I would suggest writing a script with ScriptRunner as suggested above as this should be able to solve your requirement.

Regards,

Kristian

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events