Forums

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

JMWE nunjuck code

Testing July 25, 2024

Hello, I need help in converting below groovy in nunjuck code for adding in my one of workflow jmwe condition:

dayofTheWeek(stringToDate(%(EpicName), "dd/MM", "eng", "US"), USER_LOCAL) = {FRIDAY}

it is converting epic name to date format and then validating weather that date is friday?

example: Epic name: 25/07 as epic name is text field so first it converts this to date and then validate that date is friday?

 

Please help me in converting this to nunjucks code so that I can put this in one of create issues condition. so that issues getting creating only when its friday.

1 answer

0 votes
Valerie Knapp
Community Champion
July 25, 2024

Hi @Testing , thanks for your question. I tagged the app Jira Misc Workflow Extensions into this question to help point users who can help with this in your direction.

In the meantime, you can also reference the product documentation or open a ticket to the vendor for help, if you haven't already done this - https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?hosting=cloud&tab=support 

Best wishes

Testing July 25, 2024

Thankyou @Valerie Knapp 

Like Valerie Knapp likes this

Suggest an answer

Log in or Sign up to answer