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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,553,371
Community Members
 
Community Events
184
Community Groups

Jira Automation when ranking issues

Hello, trying to figure out if there's a possibility to make a Jira automation triggering when a ticket is ranked in the backlog  in the kanban workflow.

 

We're currently using a setup that new tickets getting in are getting a `to be prioritized` label, to have a better visibility on those tickets. While I would want to make the life of prioritizing easier, wanted to clear this value from label field upon ranking the issue in the backlog, but cant find a suitable trigger for this action. 

Is there a workaround? Maybe this would be a nice addition to the Jira automation triggers.

2 comments

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 23, 2021

Hi @Boleslaw Nowak 

No, there is currently no trigger within automation for when the Rank changes. I think that's a super idea. Maybe Atlassian will add that feature request to their backlog.  :-)

@Simmo 

Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 26, 2021

Hey @Boleslaw Nowak and @John Funk

So you can totally do this hey. You'll need to use an Issue Updated trigger as changing the rank will trigger this event.

You can then tell if it is a rank change event by examining the change log with:

{{changelog.Rank}}

If this gives you something, then the rank was changed. The results you can get are:

ChangeItemBean{fieldId='customfield_10019', field='Rank', fieldType='null', from='', fromString='', to='', toString='Ranked lower'}
ChangeItemBean{fieldId='customfield_10019', field='Rank', fieldType='null', from='', fromString='', to='', toString='Ranked higher'}

So i guess you can tell if it was moved up or down with:

{{changelog.Rank.toString}}

 

Hopefully that gets you started!

Cheers,

Simeon.

Like # people like this

Thanks for the suggestion @Simmo could you help me a little, not really with a coding background so it is somewhat tricky ;). As I understand the automation should be looking somewhat like this, with the If  condition being the tricky one.

Screenshot 2021-09-27 at 16.30.37.png

 

Could you help me with the If? Not fully getting a grasp on it.

Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 27, 2021

Hey @Boleslaw Nowak,

No worries. So you're pretty close. You want to do the opposite of what you've got:

rank.png

What this is doing is saying, for the issue updated event, was the rank changed. By saying that changelog.Rank isn't empty we're making sure that the rank changed.

If you wanted to get more fancy, you could start doing conditions for being moved up or down, such as:

rankhigher.png

In this case here we're checking that the ranking was moved up. This is probably more advanced than you are looking for, so the first should help you out.

Cheers,

Simeon.

Like # people like this

Awesome! Works like a charm, many thanks for the help!

Like John Funk likes this

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events