Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Automation rule which fill a custom field of the epic issue type with the project category

Hi everyone,

We are trying to create an automation rule which fill the value of a custom field of the epic issue type with the project category of the epic.

Is it possible?

I' have tried this but it doesn't seem to work.

automation.png

From the audit it goes on success but actually the field isn't valued.

Am I missing something?

Thanks for every suggestion.

Valmira

 

1 answer

1 accepted

2 votes
Answer accepted
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.
Oct 24, 2023

Hi @v_bixhi -- Welcome to the Atlassian Community!

What value are you trying to store in the Roadmap Owner field?

The smart value {{issue.project.projectCategory.name}} is the Project Category value, not a user.

Kind regards,
Bill

Hello @Bill Sheboy 

Exactly,  we want to store the Project Category value

Any suggestions 

Thanks

Valmira

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.
Oct 24, 2023

What type of field is "Roadmap Owner"?  If that is a user field, you cannot store a text value from Project Category there.

The field ''Roadmap Owner'' is not a user field, is a ''select list'' text field.

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.
Oct 24, 2023

In that case, I believe you would need to use advanced edit with JSON rather than the basic field edit.

The syntax for updating that type of field is shown here: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Single-select-custom-field

And so you would de-select Roadmap owner from the fields to change, and instead select the More Options area to add JSON for the edit, such as this:

{
"fields" : {
"Roadmap Owner" : { "value" : "{{issue.project.projectCategory.name}}" }
}
}

If that does not work, it is likely that either:

Thanks a lot @Bill Sheboy  , it was related to this '' the value on the right side (from the project category) does not exactly match a value in your list.  The fix for this is to update one of the values so they match.'' 

I fixed this and it works.

Thanks again

Kindly regards

Valmira

Like Bill Sheboy likes this
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.
Oct 25, 2023

Awesome; I am glad to learn that helped!

Like v_bixhi likes this

Suggest an answer

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

Atlassian Community Events