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

Upon creation, lookup epic Team and copy to issue

I am looking for a way to copy the team from an epic to a story/task issue upon creation.  I think i have to use a json smartvalue but need help with looking up the team number first and then using that for the input to the json.  

2 answers

0 votes
Marc Koppelaar
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.
Jul 26, 2023

Hi @Sheri Widler 

You are able to do this.

Make sure the "Team" field is available on the required screen(s).

In the automation rule use the following Edit action in the rule should contain:

{
"fields": {
"customfield_<ID>":"<Team ID>"
}
}

Example

{
"fields": {
"customfield_10001":"100"
}
}
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.
Jun 29, 2023

Hi @Sheri Widler 

Not all of the fields from advanced roadmaps are supported by automation rules, and I believe there are several fields called "team" in Jira...

So first thing, I recommend using this how-to article with example epics and stories/tasks to confirm the fields are supported with smart values in automation rules: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

If your field is indeed supported, you could create a rule, triggered on the story/task creation, and then copy the field from the epic parent.  That how-to article will help you know the field to use and then this article will give examples of how to perform the JSON edit: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/

Kind regards,
Bill

The field is not visible, thanks 

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.
Jun 29, 2023

I think it is the same as this automation issue for Server/Data center version, even though you appear to be using Jira Cloud 

https://jira.atlassian.com/browse/JIRAAUTOSERVER-159

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events