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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can i modify the date format in confiforms for creating jira issue

Hello,

i tried to modify the confiforms form field "endtermin" but i get this error: com.atlassian.sal.api.net.ResponseException: Error communicating with Jira, {"errorMessages":[],"errors":{"duedate":"Error parsing date string: 07. Mar 2019"}}

 

Why can it dont parse my date in yyyy/MM/d ?

 

Here is my code:

{
    "fields": {
       "project":
       { 
          "key": "MIB63"
       },
       "summary": "Flyer erstellen",
	 	"description": "Zweck der Bestellung: [entry.zweck], Format des Flyers: [entry.flyerformat.value], Sonstige Angaben: [entry.wichtig]",
"duedate": "[entry.endtermin.formatDate(yyyy/MM/d]",
 "issuetype": {
          "name": "Arbeitsaufgabe"
	 },
 }
}

 

1 answer

ConfiForms uses REST API to communicate with Jira and Jira REST API has own requirement in how the date field shall be formatted

We have made t easier for you and created a

jiraDate
jiraDateTime

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

 

In your case use 

[entry.endtermin.jiraDate]

Thank you, Alex!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

216 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you