Forums

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

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 Champion
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