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

Transition of task automatically updates field in linked epic?

I want to have the following behavior: A certain transition in Task workflow automatically updates a field in the Task's linked Epic. However, the update to the Epic depends on the value of a custom field in the Task. For different values of field 'task type' I want to set different field/value in the related Epic.

I started by trying to define a post-function in the Task workflow transition, but couldn't see an option to perform such logic.

Any idea?

3 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
6 votes
Answer accepted
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 17, 2022

@Sivan Tal -

Hi Tal:

WF post-functions can definitely do the job, however it will requires custom scripting.  With WF, I would recommend the following valuable add-ons to assist and make your job simpler to create custom post-functions calls -

Script Runner for Jira Cloud - https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud

Jira Misc Workflow Extensions - https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?hosting=cloud&tab=overview

Both add-ons have built-in post function/condition/validator routines that you can use to apply your customization with minimum coding required.  I would highly recommend those two add-ons.  

On the other hands, Automation for Jira (it is part of Jira Cloud env from Atlassian) is also an excellent tool to achieve what you want.  Here are some references -

https://www.atlassian.com/software/jira/guides/expand-jira/automation

https://support.atlassian.com/cloud-automation/docs/what-are-smart-values/

The key thing that you need to ensure that the actor of your automation rules must have the appropriate edit rights to your TASK and EPIC issues, so your rules will be fired/executed accordingly.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Like # people like this

Have you looked into Jira’s Automation feature?

No, I'm not aware of that feature and its capabilities. Can you give me a reference where to find info?

Like # people like this

I think it's much easier to do that with an automation. You just use blocks if/else to define your conditions. 

Like # people like this

I agree with Ani. Let me know if you need an example.

Like # people like this

With Automation you can do that, Its easy to use and intuitive.  I strongly recommend it!

Regards

TAGS
AUG Leaders

Atlassian Community Events