Forums

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

Jira Automation Webhook

Jun September 5, 2024

Hi,

 

I've a use case which the following are the steps:

1. Incoming webhook

2. Find issue based on pull request (we're putting jira id as part of pull request title)

3. Transitioning

a. if issue is in `Ready for Review` transition it to `In Review`

b. if issue is in `In Review` transition it to `Ready for QA`

 

Please advice on what would be the best possible flow for automation

1 answer

0 votes
Mohamed Benziane
Community Champion
September 5, 2024

Hi,

this kb should help you to learn how to read the json fron the webhook.https://confluence.atlassian.com/jirakb/working-with-incoming-webhook-data-in-automation-for-jira-1125878776.html

 

Then you will need to lool for the issue using a variable (smartvalue) and make the transition.

 

Jun September 5, 2024

Hi @Mohamed Benziane , if I use lookupIssues + (JQL in branch rule/related issues), I'm not able to use if else condition for 3a & 3b. Is there a better way to do this?

Jun September 5, 2024

This is the flow but it won't be working properly as we can't guarantee the execution order of branches. Correct me if I'm wrong.Screenshot 2024-09-06 at 2.05.48 PM.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events