Forums

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

Need help in updating multi select field depending on parent issue

Ganesh Kumar Vary August 5, 2024

Hi,

We have a scenario where we have to update a multi select field in story level issue depending on multi select field value in it's parent epic issue.

Field: We have a multiselect field called FieldX both is "Epic" & "Story" issues.

Requirement: If a Story is created under any Epic, it must contain the FieldX values that are there in Epic. If there are any values are added in Story other than values in Epic during it's creation, the extra value should be removed from Story.

Eg: if FieldX in Epic = A, B, C, D and a Story is created under that Epic with FieldX = A, B, F, H. Then F & H must be removed from Story.

I am trying to use Jira automation to achieve this but counldn't figureout. Please help me in solving this requirement.

Thanks & regards,

Ganesh Kumar Vary

1 answer

0 votes
Lisa Forstberg
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 5, 2024

Hi @Ganesh Kumar Vary , 

How far did you get? Always good to add some screenshots of your automation to speed up the community help.

 

best regards

Lisa

Ganesh Kumar Vary August 5, 2024

Hi Lisa,

Thanks for the quick response. Let me try to explain the scenario clearly as I don't have any screen shots available.

______________________________________________________________________________________________

Trigger: Issue Created.

Conditions:

If type = Story AND

If Parent Exists AND

If Related Issue Condition -> Parent Matched JQL : “FieldX“ NOT IN ({{triggerIssue.FieldX}})

Action: – *I need Help here* - (Remove only values which are not there in Parent)

______________________________________________________________________________________________

Example:

If: Epic FieldX = A, B, C AND Story is created with FieldX = A, B, G, H

Then: Automation should update FieldX in Story to A, B (remove only G, H as they are not there in Epic)

please let me know if you need more info.

Thanks & regards,

Ganesh Kumar

Like Lisa Forstberg likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events