Trying this automation to link a created issue to an other it's key is in a custom field 'tested issue filled when creating issue but it doesn't work :Error linking issues : Issue does not exist or you do not have permission to see it.
Hi @Fatima AALLA
A couple of things you could try ...
1) use the "refetch issue data" action to make sure that customfield value is available to the rule (as it's being run on creation - sometimes runs quicker than data changes are made).
2) try using {{issue.Tested Issue.value}}
3) try using the customfield ID instead of name ...
{{issue.customfield_xxxxx}}
4) try using the "log action" action to record the customfield value into the audit log for the automation rule - then it's easier to check what your rule is getting from the customfield and check it's a "key" value as needed for linking issues (e.g. ABC-123 format).
5) the "actor" (rules details) used to perform/run the automation rules needs to have the permission to "link issues" in your project.
I hope one of the above may help you find a solution?
Hello @Tim C , thanks for replying, the rule is able to get the tested issue key
you can see the key here, but the problem is in linking
Is your automation rule running under the same DSI project?
If it's linking across into a different project - then that project also needs to be added into the scope of the automation rule.
Hi @Tim C , yes it's in the same project
It looks like you're new here. Sign in or register to get started.