Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,370
Community Members
 
Community Events
176
Community Groups

Branching on JQL failes for Incoming Webhook Trigger rule

Hi,

Context: using Jira Data Centre

My use-case involves triggering a project automation rule using an incoming webhook  from another project automation rule on the same Jira server. The send- and receive webhook works great and can exchange data.

Incoming Webhook Rule

Webhook_rule.PNG

However, the branching on JQL is never executed for my receiving rule as is evident from the below audit log as Debug 3 tag is not shown in audit log. The rule skips branching and goes :

Webhook_Audit.PNG

Initially I suspected the received data used to craft the JQL was incorrect, so I hardcoded the JQL statement to one specific issue that exist on the server (as can be seen below).

Webhook_rule_branch_statement.PNG

But this did not resolve the issue.

If I modify the trigger to a scheduled one, and run the rule manually, the branching condition works as expected, and Debug 3 tag appears in audit log:

Webhook_Audit_2.PNG 

 

Are there any known issues/limitations when it comes to branching logic when using Incoming Webhook trigger?

If not, any suggestions for further troubleshooting would be much appreciated.

 

Best Regards

//Jimmy

 

1 answer

1 accepted

2 votes
Answer accepted

Hi @Jimmy Petersson 

First thing, I am using Jira Cloud so I cannot confirm the following for Server/Data Center version...

There is an defect that when the incoming webhook trigger fires, JQL in the rule is executed as an anonymous user: https://codebarrel.atlassian.net/browse/AUT-547

That one looks like it was fixed, but I wonder if you change the user the rule runs under if that will impact the results.

Regardless, I recommend submitting this one as a ticket to Atlassian Support to review: https://support.atlassian.com/contact/#/

Kind regards,
Bill

Hi Bill, 

Thanks for sharing.

There is something fishy with my combo of incoming webhook trigger and branch statement. Will do some more digging around before submitting a defect ticket.

B R

//Jimmy 

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events