Forums

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

Automation: Link Issues created by same reporter, except for ...

Bernd Anderer
Contributor
January 31, 2024

When a new issue is created, I want to search for all Issues by the same Reporter and link them to the newly created issue.

That part is easy - I know how to do (see screenshot)

The additional requirement is: 

don't link any issue IF the reporter is Reporter1 or Reporter2 (these are technical users that are creating many issues, that don't need to be linked)

Question is: how do I add that condition "Report != report1 AND Reporter != reporter2"

Thanks in advance,

Bernd

Bildschirmfoto 2024-01-31 um 12.39.10.png

1 answer

0 votes
Luiz Ricardo Pereira da Silva
Contributor
January 31, 2024

Hello @Bernd Anderer
If the 2 users are fixed, create 2 more variables with these users and add them in a conditional that, before the Branch action, places these users as an exception.

I hope this helps you.
Please let me know if this solution worked.

Bernd Anderer
Contributor
January 31, 2024

Hi Luiz,

thank you for your answer. Actually - that is what I tried (see screenshot)

Where I do have a problem, is the THEN statement. For my understanding, when both IF are true THEN the For JQL should be executed.

That is apparently not what I did :-) But I am struggling with Automation on how to express this. 

Do you have an idea how exactly I can achieve that?

Bildschirmfoto 2024-01-31 um 12.38.52.png

 

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