Forums

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

How to push fields from Stories up to a different field on an Epic

Jess C March 2, 2023

Hi all-

We currently have automation set where if an Epic is created, two related Stories are created. 

The Epic contains the "Reviewers" field and our Stories contain "Assignees". 

We want to create an automation that copies the "Assignees" from both Stories and pushes these 2 "Assignees" up to the Epic in the "Reviewers" field. Screen Shot 2023-03-02 at 2.05.47 PM.png

 

A few things to note:

-We only want the two most recent Assignees in the Reviewer field of the Epic.

-Uncertain how to pull fields from both Stories 

 

Any help is greatly appreciated!

 

 

 

3 answers

1 accepted

0 votes
Answer accepted
Jess C March 7, 2023

Thanks all for the responses. 

I figured it out,

I need 2 rules:

1. Initial trigger

2. bump parent handler

Jess C March 7, 2023

image (9).pngimage (10).png

0 votes
Stefan Salzl
Community Champion
March 2, 2023

Hi @Jess C and welcome to the community,

what field type is the Reviewers field in your epic?

Best
Stefan

Stefan Salzl
Community Champion
March 3, 2023

Hi @Jess C 

I tested the following rule and as far as I got your requirement right it should provide the expected result:

image.png

Hope this is helpful.

 

Best
Stefan

Stefan Salzl
Community Champion
March 7, 2023

Hi @Jess C 

could you test the provided solution? any feedback?

In case you could test the solution successfully please consider to hit the "Accept" button next to the given answer. This will mark the question as solved and makes it easier for other users to find propper solutions to their problems.

Thanks in advance.

Best
Stefan

0 votes
Florian Bonniec
Community Champion
March 2, 2023

Hi @Jess C 

 

What you can try to do is to remove the previous assignee from the reviewer field then add the new one playing with fromvalue and tovalue.

 

I've never done that like that as I usually use scriptrunner for that.

 

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events