The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Valerie Knapp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
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