I'm using "Automation for Jira" to create recurring monthly tasks. It is working fine it creates issues each month on a certain day. However, I would like to add the month into the Summary and description. For example, if it's August the summary should be "It's time to following with Customer XYZ - August or August 2021", I'll add something similar in the description too with the month. How I can add a date variable that it's value gets change each month?
Thanks
These work:
{{now.format("MMMM")}} = October
{{now.format("MMM")}} = Oct
Thank you @Brian KeefeIt works. How can I include the year, like "October 2021"? Thank you for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Never mind, I added YYYY and it worked. Thank you for your help. Here is the updated one.
{{now.format("MMMM, YYYY")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For reference, this page is linked in the Automation documentation that has all the different symbols and examples.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Brian Keefe
per suppose we have "Aug2022" version is there, we release this version end of this month and we want to automatically create new version like this " Sep2022 ", is it possible?
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.
Hi @Shah Baloch
You could use a smart value to insert a date (although I'm not sure you could add just the month)
https://support.atlassian.com/jira-software-cloud/docs/smart-values-date-and-time-functions/
You could add on your summary e.g. It's time to following with Customer XYZ - 1 August 2021" if you run your automation every 1st of the month.
Do you think you can work with that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alex Koxaras -Relational- thank you for the quick response. For some reason, it's not including the date. Neither the custom date field displays date nor summary and description. Here is how I set it up. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please paste your rule, as well as the results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I deleted and recreated the rules and it worked. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alex Koxaras -Relational- ,
I read your answer and I have another question.
How I write the summary?
For example:
This issue was created on {{issue.created.format("dd/MM/yyyy")}}
and the result is?
This issue was created on 06/10/2021
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes that is correct. You can also use this
This issue was created on {{issue.fields.created.format("dd/MM/yyyy")}}
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.
Hi @Alex Koxaras -Relational- ,
I write the summary with this text and when the ticket is created the result is:
Do I need a gadget or script to use this?
My idea is to create automatic tickets with the date in the summary.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use smart values on automation. You can't use them in fields when creating/editing an issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where do you write this summary? Within an automation? Inside a workflow?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried creating a ticket but I want to automate it with the option: Manage Scheduled Issues
I'll try the "Manage Scheduled Issues" with these summary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have jira automation installed on your instance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know because I am not a Jira administrator at the company where I work.
I'll check this point.
Thank you @Alex Koxaras -Relational- .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Alex Koxaras -Relational- ,
I checked this point and we have Jira automation installed in our company but we have the lite version.
I don't know if this version supports this function ...
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm working on Cloud and this is pre installed as a native feature. I propose for you to try with the lite version and see. Smart values will work for sure.
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.