Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

conditional content while creation

Hi guys,

I've the problem, that we have automatically created tasks (monthly automation routine).
One field in that tasks shall show the current quarter.

I've created an automation job 'when ticket is created', with if else blocks, but it doesn't work.
The ideal solution would be in the field directly.

Is there an possibility to get this work?

 We use Jira Cloud.

Thanks for feedback,
Best regards,


2 answers

1 accepted

2 votes
Answer accepted

Hi @Adrian.Seiler  and welcome to the community,

first of all: is that a tricentis/tosca T in your avatar? 😉


I would suggest to edit the monthly automation rule to immediatly create/fill that field on creation (as far as I got it right this monthly automation rule already exists). a few quiestions to further specify the requirement:

  • Which field is the quarter supposed to be written?
  • Is that a standard field or a custom field?
  • Which format should it be shown? Q1,2,3 ?
  • you wrote "current quarter": Does that really mean "current"? so always be up to date (which means the field for all those issues would change if quarter changes). Or does it mean: "quarter at time of creation"?


Hi Stefan,

thanks for your fast reply.

- the field 'quarter' is an custom short text field

- the format supposed to be shown is Q1, Q2 ... etc.

- the current quarter will be taken by if else statement when current date will be compared by formular {{now.format("MMM")}} and given short month format in if else condition "Jan" or "Feb" ... etc.  

... and btw. yes it's the old Tosca Tricentis Icon :) 
I'm impressed that you them and the software 

Stefan Salzl Community Leader Mar 09, 2022

Is there anything giving more input in the audit log of the automation rule? Does the rule anything or just no result at all?

Did you also consider the .isBefore - .isAfter function for smart values? i guess with this it could be decreased to 3 main-branches of if-conditions.




I know the company and the product because I worked there some years ago :)  

Stefan Salzl Community Leader Mar 10, 2022

Hi @Adrian.Seiler ,

got aware of another a format option for quarter.


This will give you the number of the quarter of the specific date. 


Hi Stefan,

I'm impressed. This solution worked like a charm.

It's perfekt. 


Like Stefan Salzl likes this
Stefan Salzl Community Leader Mar 10, 2022

Honestly I was impressed myself. Found this in another discussion here in the community and immediatley thought that would exactly be what you were searching for :) 

So happy it works now.

Please consider to click accept so that this question gets marked solved 🙌🏼


1 vote
Mark Segall Community Leader Mar 08, 2022

Hi @Adrian.Seiler and welcome to the community!

Can you please share a screenshot of the rule so we can have further context to help you?  

Hi Mark,

the attached image show the if else statement when the task will be created.
It compare the current date in format {{now.format("MMM")}} with condition of short month 'Jan' or 'Feb' etc.

Hi Mark,

the solution from Stefan works perfect.

Thanks for your help.




Suggest an answer

Log in or Sign up to answer

Atlassian Community Events