How to send system date value via confiForms to Jira ticket

Kanniappan, Hari September 21, 2023

Below is my code

 

{ "fields":

{ "project":

{"key": "AE"},

"issuetype": {"id": "7"},

"summary": "[entry.workRequestDescription]",

"description": "[entry.additionalInformation]",

"customfield_15164": "[systemDate]", => I need to pass system date in this custom field to jira so that this gets changed everyday when ever my form is submitted. Can you please help with the syntax to pass system date?

1 answer

0 votes
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 21, 2023

Hi @Kanniappan, Hari 

Answered you in the ticket you have opened with us in a private support channel, but will provide the answer here as well, for the wider audience

---

You can access current system’s timestamp via [entry._now]

https://wiki.vertuna.com/display/CONFIFORMS/Accessing+field+values+and+properties#Accessingfieldvaluesandproperties-Additionalvaluesavailableinthecontext

To make it readable by Jira you may use a formatDate or jiraDate functions from

https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions

"customfield_15164": "[entry._now.jiraDate]"

Alex

Kanniappan, Hari September 21, 2023

Thanks Alex. Worked like a charm. 

Suggest an answer

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

Atlassian Community Events