Forums

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

JIRA automation is not working properly

SHANAVASH MOHAMED
Contributor
October 27, 2021

Hi Team,

I created the JIRA automationif condition.JPGelse if condition.JPG for condition based.

1. If condition will be working fine

2. Else if condition is not working .

 

i have attached the screenshot for your reference find the screenshot. please do the needful for ASAP, 

 

Thanks 

SHANAVASH M

1 answer

1 vote
Support Team [Clearvision]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 27, 2021

Hi SHANAVASH 

I believe the issue here is if you have an issue with an empty component list it is not going to hit the if or else statement

It will be filtered out at the component not in Discovery or Eng. Improvement Feature steps

https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-operators/#Advancedsearching-operatorsreference-NOT_IN

The "NOT IN" operator will not match a field that has no value (i.e. a field that is empty). For example, assignee not in (jack,jill) will only match issues that have an assignee and the assignee is not "jack" or "jill". To find issues that are assigned to someone other than "jack" or "jill" or are unassigned, you would need to type: assignee not in (jack,jill) or assignee is empty.

Whereas if an issue has the component Product & Service development then it will match the component not in Discovery or Eng. Improvement Feature as it has a component and it is not either of the two specified. It will therefore get to the IF statement and execute the create task action

Support Team [Clearvision]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 27, 2021

FYI here is a test rule I created

Screenshot 2021-10-27 141551.png

SHANAVASH MOHAMED
Contributor
October 27, 2021

Thanks @Support Team [Clearvision] 

Thanks for quick response, But i tired this condition also still issue is not creating.

find the screenshot for your reference, please do the needful.

 

Thanks condition 2.1.JPG

Support Team [Clearvision]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 28, 2021

Could you provide a full screen shot of the rule?

SHANAVASH MOHAMED
Contributor
October 29, 2021

Hi @Support Team [Clearvision] 

 

Please find the screenshot for your reference.

 

Thanks

SHANAVASH M 

SHANAVASH MOHAMED
Contributor
October 29, 2021

Full Condition.JPG

Support Team [Clearvision]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2021

Hi 

You still have the same issue due to the reason we mentioned previously

The "NOT IN" operator will not match a field that has no value

So your first and second issue match JQL conditions will only match if there is a value in the component field. If this is empty it will not continue.

Try using the example rule from the screenshot in our previous comment

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events