Forums

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

[Project Automation] Using smart values in the summary field

Nicat Nagiyev April 29, 2020

Hello community,

I'm using the former codebarrol app "Automation for Jira".  Now I have following requirement for our monthly settlement process:

I creating scheduled tickets, which works fine. The issues are created on the last day of the month. Regarding the created date the summary should look like this:

Monthly settlemeant - mm-yyyy (from created date)

I tried to implement that with smart values, but it doesn't work. Is there any other solution for that?

I used this expression: {{issue.created.format("MM/yyyy")}}

Thanks in advance for your help.

Best regard,

Nicat

3 answers

1 accepted

0 votes
Answer accepted
Mehmet A _Bloompeak_
Atlassian Partner
April 29, 2020 edited

Hi @Nicat Nagiyev ,

I think you can not get the "issue.created" value inside create issue action. Because at the time of  "issue.created" function call, issue has not created yet. Instead of "issue.created", try using "now".

{{now.format("MM/yyyy")}}

 

Nicat Nagiyev April 30, 2020

Thank you @Mehmet A _Bloompeak_ ! That works fine!

0 votes
Jack Brickey
Community Champion
April 29, 2020

Hi Nicat,

I was playing with this and I think I found a solution but TBH it is odd that you have to do this to me. So I created two actions in the rule:

  • create issue and add summary
  • edit the issue and choose the Summary field to edit. this is where you place your smart value as you have shared.

LMK if this works.

0 votes
John Funk
Community Champion
April 29, 2020

Hi Nicat,

Can you share some screenshots of what you have and what is not working?

Nicat Nagiyev April 29, 2020

Hi @John Funk ,

this is the rule I created:

grafik.png

The CRON expression is just for testing.

 

BR,

Nicat

John Funk
Community Champion
April 29, 2020

And can you share a screenshot of what is failing? Either from the Audit log or screenshot of the Epic?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events