The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Adding an Issue number to parent comment

Adam Taylor
Contributor
October 2, 2023

Hi all,

I've set-up an automation so that, when a Story or Task is flagged as 'impeded', the parent epic is likewise flagged as impeded and a comment is added to the parent epic saying 'this epic has been flagged as impeded as one of its children are impeded'.

I'd like the comment on the parent to cite the Issue number of the impeded child issue - e.g. so the comment would read 'this epic has been flagged as impeded as one of its children (SD-4567) is impeded'.

Any thoughts on how I could to this? Thanks!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
David Blank
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 Champions.
October 2, 2023

Hi @Adam Taylor !

 

When the Child triggers your automation you could create a variable and populate it with the smart value for issue key and then use that variable in the comment. 

 

Here's a screenshot of creating the variable:

Screenshot 2023-10-02 at 10.44.42 AM.png

 

Note: my assumption is that you are getting to the parent through a branch, you will want to ensure you create this variable after the trigger but before the branch or you will populate your variable with the Issue Key of your parent issue instead of the child.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events