Forums

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

Automation for comments (Linked issues)

SputnikCZ
Contributor
June 30, 2023

Hello gurus of Jira.

I tried to find a solution for my issue yet there is nothing specific regarding this...

To sumarise my issue:

I created an automation for Linked Issues where the last comment should be presented with the name of the commentator, on a linked issue. It is a cross-project rule.

Here is a screenshot:

auto1.png

Issue lays in the comment itself. While the rule works, it doesn't works fully. Check this screenshot:

Auto2.png 

My colleague made a comment on linked issue but the comment showed as "Automation for Jira", which is not correct. It should take the comment author name and print it into the comment section of the linked issue.

Any ideas why it works like this or how to improve it? 

 

EDIT: Ok, I'm just stupid. I competely missed the "triggerIssue" in the first section... 

1 answer

1 accepted

4 votes
Answer accepted
Matthias Gaiser _K15t_
Community Champion
June 30, 2023

Hi @SputnikCZ

reading your edit here - does that mean your question got solved?

I understand it as you should always use triggerIssue instead of issue. Is that correct?

Cheers,
Matthias

PS: I'm commenting here also to sort this question out as answered if that's the case.

SputnikCZ
Contributor
July 2, 2023

Hi @Matthias Gaiser _K15t_ 

Indeed the issue was with the "triggerIssue" which should be in the first statement of "Add comment to issue:"

I see the logic behind it as "issue" will take the last user from the linked issue comments as initiator, whereas "triggerIssue" will take the last user from the parent issue where the automation is being triggered, which I needed.

I see I have these moments quite a lot.. Asking for a solution here in Community and right after a few minutes I find and solve the issue by myself -_-

Like Matthias Gaiser _K15t_ likes this
Matthias Gaiser _K15t_
Community Champion
July 2, 2023

Thanks for confirming.

I know what you mean with asking for help and finding the solution yourself. Often it helps to explain a problem and get more clear about what it is.

If that happens again, I'd advise to simply suggest an answer for your own question and accept it. That way, your post gets marked as answered. This time, you can use my answer if you wish.

Like Steffen Opel _Utoolity_ likes this
SputnikCZ
Contributor
July 2, 2023

Well, at least you are on the top! :) 

Now I will post another question but that one is more for discussion as it is more complex. And I'm still new to all of this :)

Like Matthias Gaiser _K15t_ likes this

Suggest an answer

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

Atlassian Community Events