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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,727
Community Members
 
Community Events
184
Community Groups

Need help with automation on JIRA

Hi,

I am trying to setup automation on Jira between two issue types (Epic and Task). the automation is basically that when epic is transitioned to another state, task follows. The roadblock i have hit in this is that some of the transitions in workflow have validators that check for certain fields to be filled in (such as comment, target date) etc using transitioning screens.

Now the automation fails at these transitioning's because i cannot use automation to copy over these fields onto transitioning screen(from epic). Is there any other way to work around this? please let me know  

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.
Apr 05, 2021

Hi @azfar siddiqui 

If you have the data to set the Task's fields (possible from the Epic) prior to the transition you can set them with the automation.

Please post an image of your rule and the audit log from the rule execution if you are still having difficulties.  That will help the community provide you ideas to try.

Best regards,

Bill

Hi Bill,

Thanks for the reply, we will have the option to fill out those fields from Epic as it will follow the same workflow but i dont see a way of copying that data from automation. 

 

Attaching the screenshots of automation rule, and audit log.

 

jira.PNG

Audit log

jira 2.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.
Apr 05, 2021

Thanks for that information.  

After your branch starts, and before the Transition, you can edit the Task and choose to copy fields from the Trigger Issue.

To do so, after you select a field to edit, select the ... menu at the right, and then Copy From, and Current Issue (which is the triggering issue).

Hi Bill,

Thanks for the reply,  i cannot find "comment field" that i can use to copy from. That is one of the fields required to transition to next step. any way around this?

 

Thanks for your help with this matter.jira 4.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.
Apr 06, 2021

Commenting on an issue is a separate action from edit.  Perhaps try to add that Comment action inside of the branch, and you may add the value from the trigger issue's comment.  Unfortunately this method will not preserve the original author, but you could add that to the comment.

Comment from {{triggerIssue.comment.last.author.displayName}} 
Created: {{triggerIssue.comment.last.created.jiraDate}}
{{triggerIssue.comment.last.body}}
Like azfar siddiqui likes this

Bingo! thanks Bill that worked like charm

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events