Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you might find the site temporarily inaccessible. Thanks for your patience. Read more.

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

Set value if empty for status field

Andrzej
Contributor
January 7, 2025

Hello, 

I have a question as in the topic. How can I assign the default value for the "status" field definition? I'm trying to match the proper syntax, but I would be greatful if you could help. 

I have four statuses as shown on the screen, and the default one should be "REVIEW".

Przechwytywanie.PNGStatus.PNG

2 answers

1 vote
Mar Demolag
Contributor
March 2, 2025

Hi,
you can use IFTTT for that, using the constant names of the statuses, as described on:

https://wiki.vertuna.com/spaces/CONFIFORMS/pages/21234018/ConfiForms+Field+Types

for example, to change the status to orange every time you create a new entry an empty status:

<ac:structured-macro ac:macro-id="68fdcda0-cbfb-4a7e-85b5-41bf704b8448" ac:name="confiform-ifttt" ac:schema-version="1">
<ac:parameter ac:name="condition">Status:[empty]</ac:parameter>
<ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
<ac:parameter ac:name="event">onCreated</ac:parameter>
<ac:parameter ac:name="title">entryId=[entry.id]&amp;Status=moved</ac:parameter>
<ac:rich-text-body>
</ac:rich-text-body>
</ac:structured-macro>

 

0 votes
Humashankar VJ
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.
January 12, 2025

Hi @Andrzej 

The Status field is a system field that mirrors the workflow status of an issue.

While you can't set a default value for this field directly, you can give a try with your desired default status of "REVIEW" by configuring the associated workflow and leveraging Jira automation or scripting tools to streamline the process.

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards

Suggest an answer

Log in or Sign up to answer