Hi All,
I have a problem in automation rule, based on incoming webhook.
I have two team-managed project. Project "A" and Project "B"
In project "A" when issue created, if the value in custom field "X" is equal to the value of field "Y" in project "B", then link the issues.
I made configurations but it doesnt work.
Need your advice.
Would you please clarify: what exactly is not working as you expect?
For example, you note comparing issues in different projects, A and B. Where is that comparison happening in your rule?
And, as you note different projects: a rule looking as issues in different projects often needs to be global / multiple-project in scope. What is your rule's scope?
Kind regards,
Bill
Hi @Bill Sheboy ,
As the global rules have limits, I am trying to do it with webhooks.
In first screenshot, you can see that I am sending webhook from project A.
In second screenshot, the rule in project B is based on incoming webhook. And there you can see the condition, if field "Corporate email" contain/equals {{webhookData.adrCorporateEmail}}, then link issue: relates to - {{webhookData.adrCorporateEmail}}.
In logs it shows success, but issues are not linking to each other.
The point of this, when issue created in project A, find the issue(which is already created) in project B and link it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In section if field "Corporate email" contain/equals {{webhookData.adrCorporateEmail}}, then link issue: relates to - {{webhookData.adrCorporateEmail}}
I changed the relates to from {{webhookData.adrCorporateEmail}} to {{webhookData.key}} and it is still not linking.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For project-scope rules, the only thing you can do with other projects is Create Issue or Clone Issue. All other actions, such as linking, require a global-scope rule.
As you are trying to bypass the global-scope, rule execution limits with the REST API, you could try doing the same for the issue linking.
Please note, you may be avoiding one limit and cause exceeding another: if your total execution time (such as per hour, etc.) exceeds limits due to web requests the rules could also stop running.
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.
Just to clarify, did you find that a project-scope rule could link to an issue in another project using the Link Issue action?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.