Forums

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

How can I display a sub-tasks assignee as comment on Parent Issue

Casper
Contributor
September 19, 2023

Screenshot 2023-09-19 at 15.07.40.png

This solution works as I want BUT, I can display a Name or Ids like on the screenshots below.

Screenshot 2023-09-19 at 15.09.53.pngScreenshot 2023-09-19 at 15.09.56.png
But I need to Tag all assigned employees of all sub-tasks on Parent issue comments.

1 answer

0 votes
Valerie Knapp
Community Champion
September 19, 2023

Hi @Casper , thanks for your question.

I think you are nearly there, you just need to adjust the smart value a little bit, see the documentation here - Jira smart values - issues | Cloud automation Cloud | Atlassian Support

to something like this

{{issue.comments.last.author.displayName}} 

adding the displayName. What you have now is the code of the Assignee.

Please try this and let us know if it works.

Hope this helps you, cheers.

Casper
Contributor
September 19, 2023

Hey @Valerie Knapp 

Thank you!
I will try and let you know.

All the best,
Ostap

Like Valerie Knapp likes this
Casper
Contributor
September 19, 2023

@Valerie Knapp Here is the case:

I tried to use your solution but it doesn't work.
Automation comment the commentator not assigned persons from sub-tasks.

So, now I have case described below and can't move up...

Screenshot 2023-09-19 at 16.16.40.png

My automation works well and as i want but i can't tag that persons who are diplayed by automation.

Here how it looks like now:

Screenshot 2023-09-19 at 16.16.46.png

Here the list of sub-tasks as you can see it's works.

Screenshot 2023-09-19 at 16.16.50.png

And i want to have like that:

Screenshot 2023-09-19 at 16.22.34.png

 

Now I'm trying to findout how to change displayed names to Tagged.

Thank you for your time!

Valerie Knapp
Community Champion
September 19, 2023

Hi @Casper , you could also test this by logging the smart value in the audit log, like this -

image.png

if you prefer to do this instead of inserting the comments in the issue for real. In this way, you can test the code / smart values by running the rule and then checking the audit log for the rule, the results of the smart value.

image.png

Just a suggestion. I hope you get it working how you want.

Cheers

Like Casper likes this
Casper
Contributor
September 19, 2023

Thanks

I will try,
Cheers!

Like Valerie Knapp likes this

Suggest an answer

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

Atlassian Community Events