Forums

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

Automation error

K Rahul
Contributor
November 16, 2023

My automation was working fine till yesterday, now its showing some error like the custom field is not available

 

3 answers

0 votes
Bill Sheboy
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.
November 17, 2023

Hi @K Rahul 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Until we see that information...

What type of project are you using: company-managed or team-managed?  You may find that information at the bottom-left side of the page expanding area.

If this is a company-managed project, have you asked your Jira site admin if there were changes to the custom field configuration?

Kind regards,
Bill

K Rahul
Contributor
November 19, 2023

@Bill Sheboy Its a team managed project

Audit Log 1.pngAutomation error1.png

Bill Sheboy
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.
November 20, 2023

Thank you for that information.

It is likely the smart value for the field is different than what you are using.  Smart values are name, spacing, and case-sensitive...and they do not always match the displayed field name on the page views.  Your field name has a hyphen, and so I expect the smart value is different.

Please try this how-to article to confirm the smart value (or custom field id) for your field, and then use that value.  Essentially you do this:

  • identify an example issue with your field
  • using a browser tab, call a REST API function to load all possible smart values supported by rules
  • search on the page to find your field, such as with CTRL-F
  • use the smart value shown in our rule

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

 

Also, what is the type of your field: text, numeric, etc.?

If it is numeric, that expression can be simplified to this, substituting in your corrected smart value:

{{issue.yourFieldName.plus(1)}}

And if your field is text, you may use this:

{{issue.yourFieldName.asNumber.plus(1)}}

0 votes
K Rahul
Contributor
November 17, 2023

@Magdalena Zhisheva 

the field is available, same automation is working for other project, field context is also enabled for global projects

The automation issue I am facing, I feel it as a glitch from Atlassian side. Because, the automation works sometimes and it throws error sometimes

Magdalena Zhisheva
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.
November 17, 2023

Hi @K Rahul , 

Can you post a screenshot of your rule and the error related?

0 votes
Magdalena Zhisheva
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.
November 17, 2023

Hi @K Rahul , 

Are you an Jira Admin?

Are you able to see the custom field related in your fields or in Settings -> Issues ->  Custom fields?

This error might appears if the field has been renamed or deleted recently.

Hope that will helps!

 

BR, 

Magdalena Zhisheva

K Rahul
Contributor
November 19, 2023

@Magdalena Zhisheva Yes, I am the Jira Admin, the field is available in Settings -> Issues ->  Custom fields?

Suggest an answer

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

Atlassian Community Events