Forums

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

How add current month into Summary and Description of an issue?

Shah Baloch
Contributor
August 13, 2021

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

4 answers

2 accepted

7 votes
Answer accepted
Brian Keefe
Contributor
October 5, 2021

These work:

{{now.format("MMMM")}} = October

{{now.format("MMM")}} = Oct

Shah Baloch
Contributor
October 5, 2021

Thank you @Brian KeefeIt works. How can I include the year, like  "October 2021"? Thank you for your help.

Shah Baloch
Contributor
October 5, 2021

Never mind, I added YYYY and it worked. Thank you for your help. Here is the updated one.

 

 {{now.format("MMMM, YYYY")}}

Like # people like this
Christian Meza
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 1, 2021

thanks!

Brian Keefe
Contributor
January 11, 2022

For reference, this page is linked in the Automation documentation that has all the different symbols and examples.

prakash August 10, 2022

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?

Like David Romero likes this
David Romero December 15, 2023

Hi @prakash , would like to know how you did this work

1 vote
Answer accepted
Alex Koxaras _Relational_
Community Champion
August 13, 2021

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?

Shah Baloch
Contributor
August 13, 2021

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.  Thanksdate_08132021.png

Alex Koxaras _Relational_
Community Champion
August 13, 2021

Please paste your rule, as well as the results.

Shah Baloch
Contributor
August 13, 2021

I deleted and recreated the rules and it worked. Thanks

Deleted user October 6, 2021

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!

Alex Koxaras _Relational_
Community Champion
October 6, 2021

Yes that is correct. You can also use this

This issue was created on {{issue.fields.created.format("dd/MM/yyyy")}}
0 votes
Deleted user October 6, 2021

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.

0 votes
Deleted user October 6, 2021

Hi @Alex Koxaras _Relational_ ,

I write the summary with this text and when the ticket is created the result is:

Summary.PNG

Do I need a gadget or script to use this?

My idea is to create automatic tickets with the date in the summary.

Thanks,

Alex Koxaras _Relational_
Community Champion
October 6, 2021

You can use smart values on automation. You can't use them in fields when creating/editing an issue.

Alex Koxaras _Relational_
Community Champion
October 6, 2021

Where do you write this summary? Within an automation? Inside a workflow?

Deleted user October 6, 2021

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.

Alex Koxaras _Relational_
Community Champion
October 6, 2021

Do you have jira automation installed on your instance?

Deleted user October 6, 2021

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_ .

Deleted user October 7, 2021

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,

Alex Koxaras _Relational_
Community Champion
October 7, 2021

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.

Suggest an answer

Log in or Sign up to answer