Hello,
I have a JIRA automation I am trying to set up based on a manual trigger. It prompts the user to input a title and date. I would like to automatically create a jira story with that title and update the due date to be 5 days BEFORE the inputted date.
When I set the Due Date to be {{userInputs.dateuserselects.minusDays(7)}} I get an error below
The duedate must be of the format "yyyy-MM-dd" (duedate)
I have confirmed the input matchs that format. I am wondering if I am missing anything or of this is just a limitation of the tool
Hi @Eric Browning -- Welcome to the Atlassian Community!
At this time, there is no date (or date / time) picker option for the Manual Trigger's user inputs. Here is the suggestion to add that feature:
https://jira.atlassian.com/browse/AUTO-744
Until that is implemented, please add the toDate function to convert your text entry to a date before the minusDays() function:
{{userInputs.dateuserselects.toDate.minusDays(7).jiraDate}}
Kind regards,
Bill
Hello @Eric Browning
Welcome to the Atlassian community.
Can you provide screen images showing your entire automation rule, the details of the trigger showing the inputs you have created, and the details of the step where you are trying to set the duedate field?
Sometimes errors likt this are due to context, or improperly named or formatted Smart Values. Have the information requested above will help us diagnose the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.