I'm in the Jira Automation section and I select "Scheduled" as a trigger.
I see I can do something every 30 days. I'm wondering if I can do it on the first of the month.
Also, I'd like to know how to create a new label.
on the first of every month, or every 30 days, I want to create a new label of:
Month (in words) underscore "Release".
So on May 1, I'd want a new label automatically created for my project called:
May_Release
Hi @Don.Sevcik
Your Cron will create the issue at 08:15:00am, on the 1st day, every month. I create that as 0 15 8 1 * ? * - but I think both should work
You'll need to create at least one issue with the action - for a label to be active, it needs an issue to live on.
This is how I did it:
Trigger:
Action:
{
"update": {
"labels": [
{
"add": "{{now.format("MMM")}}_Release"
}
]
}
}
^ Save and publish the rule.
I chose to create the label on one issue - perhaps a test issue or a training issue. Labels are platform-wide, so it doesn't have to be in created in your project.
I also formatted as "MMM" but you could make this a number or similar depending on what you want.
To do this I used Smart Values - Date and Time Functions and Advanced Field Editing - JSON
Let me know if you need any further help.
Ste
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.