Automation for Changing the Request Type

Lucca Fernandes August 14, 2024

Good morning community,

 

I have a challenge to make an automation in JIRA so that whenever a type of the item is changed, also change the Request Type, so that the customer can view it on the Portal.

 

I did it as follows:

 

1. Whenever the item type is changed, it triggers the automation

 

2. I make a condition to validate the type of item

 

3. Based on the type of item I use the action of Edit the request type by defining the corresponding request.

Captura de Tela 2024-08-14 às 11.19.19.png

 

However, it is generating an error:

Captura de Tela 2024-08-14 às 11.14.07.png

2 answers

0 votes
Adolfo Casari
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2024

@Lucca FernandesThe project SDC is an actual JSM project? Your trigger is a field change but maybe the issue that triggered it is not from a JSM project, so it can not find customfield_10010 (Request Type)

0 votes
Samuel Gatica (ServiceRocket)
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2024

Hi @Lucca Fernandes 

1. Please ensure that the "Request type" field is included in the edit screen for that specific issue type.

2. Kindly note that you will only be able to modify the request if it falls under the same issue type.

 

Hope this helps

Best regards

Sam

Lucca Fernandes August 14, 2024

Hello @Samuel Gatica (ServiceRocket) , thank you for your feedback.

 

Yes, I've already checked the screen issue:

Captura de Tela 2024-08-14 às 11.53.02.png

Regarding the type of item, I have a type of request for each type of item, in this case what I am changing also has another type of request associated

Seon Shakespeare
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2024

Hi Lucca,

Here's a few things to check:

  1. Is the "Request type" field on the Edit screen for the new issue type?
  2. Is the request type valid for that new issue type?
  3. Is your automation running for the correct projects and issue types?

Hope this helps!

Lucca Fernandes August 14, 2024

Hello @Seon Shakespeare , as you can see in my previous answer, all these points have been verified.

 

Ponnappan Ganapathiya
Contributor
August 14, 2024

Hi @Lucca Fernandes ,

I am trying to understand something here. 

Is it SD project? and are you trying to change the native request type!

I can see custom field value error. I suspect that.

If I am not wrong there might be a field called "Customer Request Type" which changes the request type of SD tickets.

Like Seon Shakespeare likes this
Lucca Fernandes August 14, 2024

Hi @Ponnappan Ganapathiya, Yes, it's an SD project. Yes, the field I'm trying to change the request type field (Native JIRA).

Seon Shakespeare
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2024

Hi Lucca,

In Jira Service Management, the field that controls the request type shown on the customer portal is called "Customer Request Type" Make sure your automation is using that field, not the standard "Request Type"

Hope this helps!

Lucca Fernandes September 11, 2024

Hi, @Seon Shakespeare

 

Yes, I'm using this field anyway, I'll attach a print here so you can see

Captura de Tela 2024-09-11 às 10.14.42.png

Suggest an answer

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

Atlassian Community Events