You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi everyone!
I want to automate assigning labels to old issues in my backlog so that I can then filter them out easily and keep the backlog fairly clean. I'd like all issues older than 180 days from the date of the scheduled rule execution to have the defined label added.
I'm using Jira Automation and using scheduling as a trigger seems the best possible scenario.
I provide the following components( see attached screenshot):
However, when I try to launch the automation, the following error occurs:
> The rule has been configured with components that require issues to be provided by the trigger. You need to use the option to run JQL to provide issues. The following components require issues: Issue condition, Edit issue
Do you have any idea how the JQL search should be launched and what are the required issues mentioned in the error description --> `Issue condition`, `Edit issue`?
Thank you!
Obviously, you need to change your status is there. As well I would add a check to that JQL to see if the label already exists in that way you're not adding the label again. So yours should look something like this....
Status in (Blocked, Open) and created <= startofday(-180) and labels != xxxx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pawel Halas,
some explanation first:
in your screenshot there is a check box at the bottom saying "Run a JQL search and execute..."
If you check it, you will be provided with a JQL input to filter your issues. As suggested in the comments above it is a good idea to merge both your branches into this JQL.
Hope that helps.
Best regards,
Maksim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pawel Halas
Jack's will definitely help you add the label...and...
Have you considered instead just adding a quick filter to hide older issues?
Or, if you consider these issues as perhaps too-old-to-work-on, use a filter to identify them and then abandon them by adding comment and moving to "done" or some other completed status to indicate abandonment. I would advise against deleting them.
Kind regards,
Bill
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.