Hi,
I have been looking into automating changing priority of my issues based on several factors and I have managed with the most, however one where I am completely stuck is the amount of "thumbs up" on an issue. It is a software project. I have tried asking all possible AI chats I can think of but they just make up conditions that are not possible to set in Jira automations - I cannot seem to find anyhthing related to Voters when I try to choose a field within Issue fields condition. I have tried using smart values and guessing what it could be - tried {{issue.votes.size}}, {{issue.voters.size}}, etc.
I would imagine there must be a way to do that, otherwise what would be the point of voting?
Does anyone have any clue how to go about it?
Hi and Welcome to the Atlassian Community!
At this point there is no trigger "When issue is voted", so you can't do an action in automation based on that event, that would be the easy solution.
Your syntax is correct:
{{issue.voters.size}}
This gives you the Vote count. You can validate this by making a manual rule an use te Log action to log out the value:
This will output:
For your case, what you could do is create a Scheduled rule that runs every hour for example:
Be aware that in a scheduled rule, you provide a JQL for issues that need to be checked for enough votes. Here you can exclude the ones that already were raised in priority.
Hope this helps!
Jeroen
Hi @Karolina Rucinska , please refer to @Jeroen Poismans 'a answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much! I have tried going with Issue Updated trigger all this time and assumed there was something wrong with the syntax - I think scheduling the rule to the end of each work day does the job perfectly fine here. This has solved my problem :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Karolina Rucinska -- Welcome to the Atlassian Community!
Yes, and...to the other suggestions, here is the open item for Votes changes are not detected in a way to trigger rules and other actions:
https://ecosystem.atlassian.net/browse/ACJIRA-2522
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.
@Karolina Rucinska I was able to fetch something more:
As a workaround I have created an automation rule that is looking for the issues that have been voted on and based on that the priority is being changed. This happens when the issue gets updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is what I have tried previously and it did not fetch the issues that have been voted on. I have now tried Jeroen's approach and it has worked. Thank you though!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community.
@Jeroen Poismans is correct, you can also use a scheduled trigger to have it auto check, say at then end or start of a day.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are right...it doesn't....my bad. Apologies. @Karolina Rucinska please refer to @Jeroen Poismans answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikola,
Not sure if a vote triggers an Issue Updated event? Does it?
Jeroen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikola and thank you for your response!
So, if I understand it correctly, I have to look into some plugin in order to be able to achieve what I want... This feels very strange, as the sole purpose of voting feels defeated for me. But oh well, at least now I know that this is indeed the case.
Thank you again for your response!
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.