Forums

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

Automation create issue/story, target date logic based on epic Tshirt size & predefined time length

rachel rutti August 25, 2025

Automation - has anyone done this or something similar? In googling, it appears like it is possible. We will start to look into this tonight.  So thought I'd check if anyone else has ventured here...   :)

Epic has T-shirt size 

We automatically create BRD user story based on adding component to Epic 

When we create this user story through automation, we want to populate target start and target end date based on some logic.

For example, we predefine:

BRD story length of time is 14 days if the parent Epic Tshirt size is Small

BRD story length of time is 28 days if Epic Tshirt size is Medium

Target Start date of BRD story is 5 days after it's creation date or 5 days after today's date -(when it's created)

Target End date of story is Creation date + 5 + 14 days

or Target End date is Target Start + 14 days.

If it is too complicated or not feasible to do the logic for target start and target end dates during the story creation automation process.... 

A second option would be to trigger the target dates when the story is moved into status "Business Review"   (or when story is Assigned)

So that would be... upon status change to Business Review or Story assigned, update target start and target end dates according to logic.

1 answer

1 vote
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.
August 25, 2025

Hi @rachel rutti 

Yes, this is possible, and...

When the Story is created (and triggers the rule) there are two ways to access that information in the parent Epic.

  1. Use an if / else condition block and the Related Issues Condition to check the fields of the Epic with JQL, and then perform the updates to the Story
  2. Load the Epic's fields using a REST API call with the Send Web Request action, and then use the fields in the response with conditional logic to set the Story fields

And as an FYI -- another way to get the data would be the Lookup Issues action with JQL, but that will not work for your case as it does not support custom fields yet for Jira Data Center.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer