I'm desperately in search for a way to have variables (smart values) to display in the titles of newly created issues by automation.
The situation is this: my automation creates every week on monday a new story. I would like that each newly created story has a variable in the title, f.e. numbering:
I have found a way to f.e. add the due date (or any date) to the titles, but that's still not enough. I would like to have a solution that it can f.e. count how many issues has been created in the past using that automation and always count 1 up.
Another related question is, besides the date displayed in the title, is it also possible to just show the week number?
As you mentioned that the week number could be an acceptable solution, you can tweak your current solution by using a different format pattern.
The format() method accepts "w" to be replaced with the week number in that year.
I haven't tried, but try this:
Hi @ray ,
You have any existing script to start with?
What is your current setup? Automation for Jira?, Listener?, Postfunction?
Is there any unique identifier for each issue created? We can use regex or JQL so we need the identifier of the last issue created.
Adding the Week number is possible aswell.
Just need few more requirements just to clarify things.
We're using Automation for Jira.
It's an automation where it's creating a story each week.
The summary now is:
otherwise, all the created stories would have the same name. But I don't like that formatting. I would rather have 01, 02, 03,... or week number: week 1, week 2, ...
the only unique identifier right now is the key or duedate of course.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events