Forums

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

custom field in jira automation

Anton Sivolap August 16, 2021

I need to check if my cistom field "customfield_19700" is emply and than to add some slacg group to that field.

Can you help me with 1st operation to find that fild

Project automation - Jira - Google Chrome 2021-08-16 14.41.31.png

and thaen how to write jql to fill this field with text

1 answer

0 votes
John Funk
Community Champion
August 16, 2021

Hi Anton - Welcome to the Atlassian Community!

Why not just use a regular Condition for Issue Fields Condition? Select your field in the drop down and use Is Empty for the condition. 

Anton Sivolap August 16, 2021

I can`t see in drop this field. 

John Funk
Community Champion
August 16, 2021

What type of field is it?

Anton Sivolap August 16, 2021

This is field when user make ticket, and I need to chek if he fill itCreate Issue - Jira - Google Chrome 2021-08-16 16.30.02.png

John Funk
Community Champion
August 16, 2021

Ah, it's a grouper picker type field, which Automation can't handle right now. 

In the Advanced Compare, change the condition to: does not match regular expression

Then in the regular expression field type:

(^null$|^$)

Anton Sivolap August 18, 2021

ok. I understand first part. But now I need to write action To fill some text in this field - need to add some slack group to this field. I try 

"customfield_19700": "jira-promo user"

but didn`t work this sintaksis

John Funk
Community Champion
September 20, 2021

You are going to need the account ID of the user. Something like 

"customfield_19700": {{issue.Issue Watchers. accountId}}

Suggest an answer

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

Atlassian Community Events