I love the Jira Automation plugin, but it seems I am unable to use the smart values for the month description on the Summary field?
We have recurring tasks and I want to insert the name of the current month into the Summary, but whatever I tried with smart values, it was not satisfactory.
The best I've got are only numbers, like 1 for January, or the whole date-string for now, but I would need a descriptive name, like January, not just the number 1. I suppose it is possible to do this only with custom smart values? How would you do this?
You can use the .format(<date pattern>) smart function to achieve this.
This function uses the underlying Java data/time formatting patterns (available here).
For your specific scenario, you can use the following smart value:
I had a very similar issue in the past. I had a workaround using a postfunction which was able to modify the summery.
I found out that there are other possibilities of formatting the date, but just two to write the whole name of the month with other date data, but none just for the month..
January 11, 2021
Jan 11, 2021
Monday, January 11, 2021 2:42:33 PM GMT
You can use this it should works fine (it will return "January" in this case) :
Hope this helps
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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