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

Automation question about custom field null check

Jason Liu
Contributor
July 13, 2023

When workflow status change, New-In Progress, we want to check if 3 custom fields are null or not. If they are null, I need an automation to change another field's value to "No". If not null, then check the other field value as "Yes". Just like this kind of function. May I know how I can do this?

1 answer

1 vote
Aaron Geister_Sentify
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 13, 2023

@Jason Liu 

You can do this by using Automation for Jira which is in the project settings under Automation or if using JSW project type then also on the board by hitting the lighting bolt > manage automation

You can create an automation a few different ways with these requirements. I would use this with what I know.

Trigger = Issue Transition

First condition would need to be ' If else statement'

Condition based on Custom field value  in first statement


Action edit custom field to "No"
Else
condition base on other custom field value

Action edit custom field to "Yes"

Hope this helps you and if it does please mark as answered.




Jason Liu
Contributor
July 13, 2023

Hi Aaron, is the automation for Jira a plug-in? I just found one but I'm not sure we have the function in their documentation. We have another plug-in JSU Automation Suite for Jira Workflows. Can this plug-in do this function?

Gokaraju gopi
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.
July 13, 2023

@Jason LiuIt can be done by automation. Please look at following automation. I have used if else block to match your requirement

at22.JPG

Jason Liu
Contributor
July 18, 2023

Hi Gopi, if it's a plug-in, could you share the documentation? I found a plug-in in our system named "Automation for Jira" but I cannot find the documentation.

Gokaraju gopi
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.
July 18, 2023 edited

@Jason LiuAutomation is in-built for jira. You don't need to install it separately. You can find automation in project settings or in system page

at26.JPG

at27.JPG

Jason Liu
Contributor
July 19, 2023

Hi Gopi, our Jira version is server 8.5.2 and I didn't see automation in project setting. project setting.png

Gokaraju gopi
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.
July 19, 2023

@Jason LiuThe you should install Automation for Jira plugin in server. I thought are using jira cloud

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.2
TAGS
AUG Leaders

Upcoming Jira Events