I've read similar questions and answers but none have helped me. My scenario and rule seems very simple and I cannot see why it fails. It has worked for other projects when cloning between JSM and JWM projects.
Rule details:
Thanks for your help :)
Glen
Looking at your rule and audit log images...
Is this rule defined in the ZPT project, or as a global rule with multiple-project (or global) scope?
If it is defined only in ZPT, I believe the links cannot be "seen" because the other project is out of scope for the rule. To solve this, move the rule / change the scope to include both projects.
Kind regards,
Bill
Hi @Bill Sheboy ,
In my OP description, I noted:
Rule details:
Is this what you mean?
It is a multiple project rule and the two projects ZPT and APID are added as its scope.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks; I missed that part, as it would certainly cause that symptom.
Your audit log image shows a configuration change in the rule between what I assume was the successful run at 11:54:04 am and the incorrect one at 12:02:39 pm. You note the change was inconsequential; what changed?
Another way to test if those links are visible to the rule (or if the condition is broken) is to use a Lookup Issues action with JQL and the linkedIssues() function, testing for the exact link type. If the lookup returns issues when the condition does not work, that would confirm the condition is not working as expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy ,
The inconsequential config change was editing the rule description.
However, since the 2nd failed run I realized that while I had the automation set as Multiple Project and had the two projects added, my IF statement was only naming the ZPT project.
I added the APID to the IF condition restriction and that seems to have been the fault. I wasn't considering that the IF needed to "see" APID at this stage.
Thanks all for the input and help!
Glen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Glen Cochrane - Can you please share a screenshot of your audit log for this rule? It would help us understand what's happening.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Mark Segall - thank you for the response.
Below is a screenshot of the two rule runs. (The config change seen inbetween is inconsequential).
Also note, the error of "Unknown field = Attachment" is false; a known bug. The attachments do clone to the new issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.