My problem automation is not working
Asked by RAMCEL MAGNAYE:

Please help me investigate my automation i dont know how to fix this error ![JIra automation.png](https://community.atlassian.com/t5/image/serverpage/image-id/341605i74E7C0A52D35C809/image-size/large?v=v2&px=999 "JIra automation.png")![Error 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/341609iF1AD40BEDC2DFBB4/image-size/large?v=v2&px=999 "Error 1.png")![error .png](https://community.atlassian.com/t5/image/serverpage/image-id/341607i58AA7CB536FD2DC0/image-size/large?v=v2&px=999 "error .png")


Answers:
author: Trudy Claspill
body: Hello [@RAMCEL MAGNAYE](/t5/user/viewprofilepage/user-id/5482981)

The error message in the Automation rule log is indicating that the Problem Trigger field does not have a value but is a required field.

Looking at the images you provided, the value that you have specified for that field in the Create Issue action:

![Screenshot 2024-08-13 at 9.32.25?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/341621iB99A35BDCF541E18/image-size/large?v=v2&px=999 "Screenshot 2024-08-13 at 9.32.25?PM.png")

...doesn't match the values that are actually available for the field in the Create Issue dialog.

![Screenshot 2024-08-13 at 9.33.59?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/341622i34AD49E7069D8E4A/image-size/large?v=v2&px=999 "Screenshot 2024-08-13 at 9.33.59?PM.png")

Notice in the Create Issue dialog the value has parentheses and in your rule it does not.

That suggest there may be more than one field named "Problem Trigger" in your instance with slightly different options, and in your rule you have chosen one that is not the one actually used in the issue type you are trying to create.

In the Automation Rule when you used the "Choose fields" pull down to select that field, did you see more than one field with that name?

Are you working with issues in Team Managed projects or Company Managed projects?

You may need to used Advanced Editing with JSON in the Create Issue action to edit the field, using its custom field ID to identify it instead of its name.

You can find information on how to edit/set a field in that manner in this document.

<https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/>

And you can find information about how to determine the custom field ID in this document:

<https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/>

If you have more questions about that, please let us know.

comments: author: RAMCEL MAGNAYE
body: thanks [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011) will check this if the issue presist i will let you know thanks


author: Fernando Eug?nio da Silva
body: [@RAMCEL MAGNAYE](/t5/user/viewprofilepage/user-id/5482981) ,

Well, it seems correct. But just try to check if the field **Problem Trigger** is already added in the **Create issue** screen for the Issue Type selected.

We can see you're sending a value for the field, but maybe automation is not filling him because the field is not added in the **Create Issue Screen**.

If this is already checked, I would say to verify if the field 'Problem Trigger' is looking for a specific value and for this cause automation is showing an error.

comments: author: RAMCEL MAGNAYE
body: Hi [@Fernando Eug?nio da Silva](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4606715) yes it is added on the screen , so the field "Problem Trigger" cause the problem ? ![ticket created .png](https://community.atlassian.com/t5/image/serverpage/image-id/341616iDDEF8918FCC5CA43/image-size/large?v=v2&px=999 "ticket created .png")


author: RAMCEL MAGNAYE
body: Hi [@Fernando Eug?nio da Silva](/t5/user/viewprofilepage/user-id/4606715) yes it is added on the screen , so the field "Problem Trigger" cause the problem ?


Tags: cloud

jira-service-management

jira-service-management-cloud