Forums

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

Automation Rule issue

Fayzan Nohur January 23, 2023

Hi There,

 

Initially, I created an automation rule that will auto fill a custom field with the latest comment.

This was working until I created the custom field in another project with the same name and then I get the error below.

 

Error: Additional fields contains invalid field(s) in 'update' or 'fields' section: Status Comments

The automation rule is a below.

 

{

"fields": {

"Status Comments":"{{issue.comments.last.body}}"

}

}

 

Even if I deleted the custom field and create it afresh, it still gives me the error.

 

My task is to have custom fields on multiple projects with the same name and pull the latest comment.

 

Kindly advise

1 answer

0 votes
Alex Koxaras -Relational-
Community Champion
January 23, 2023

Hi @Fayzan Nohur and welcome to the community,

You mean you want to have XX number of custom fields named "Status Comment" and place each field to just one project? If yes, why you want to do that? You need only one field which you will place to all your projects.

Fayzan Nohur January 23, 2023

Hi,@Alex 

We have created a custom field under issue- custom field but unable to see it on the project configuration. Then we have created the field directly on each project.
Do you have a solution for this?

Alex Koxaras -Relational-
Community Champion
January 23, 2023

Are you on a team managed or company managed project? What does it say on the bottom left corner?

Fayzan Nohur January 23, 2023

Its a team managed project 

Alex Koxaras -Relational-
Community Champion
January 23, 2023

Unfortunately custom fields you create on team managed projects, "lives" only on that specific project. So you replicated the rule on the second project and the audit log yields this error?

Suggest an answer

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

Atlassian Community Events