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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Simplest way to use JQL to check who changed the priority last? Edited

chrisb I'm New Here Feb 18, 2021

I have an automation in place to send an email out whenever the priority status is changed by a specific user. I'm using the CHANGED BY operator on the priority field exactly how it's listed in the page with all the other operators. The only problem is this specific filter is not checking accurately to make sure it's approved person to change. It's still sending the text no matter who updates the priority status. 

Also, if it's possible, all of these users are in a specific group for this purpose. I could use the group ID here instead of a bunch of user IDs and OR operators but I'll obviously go with whatever works.

Here's a screenshot of my current logic. Is there a better way that I could be doing this?

logicblocks.png

3 answers

1 vote
Hana Kučerová Community Leader Feb 18, 2021

Hi @chrisb ,

please, look at the condition, which is called "User condition".

You should be able to select here: "User who triggered the event" and do some sort for check for him (is some user, is in some group etc.)

Hi chrisb and Welcome,

Sadly CHANGED BY operator search within the whole issue history and not just the last change made, so for any issue where user 557058... have already changed the priority the IF closure will be always be true regardless if someone else is actually editing the priority field.

As far as I know, there is not way to make CHANGED BY operator to search just for the last change instead of the while issue history.

 

Regards

Hello @chrisb ,

 

I do have a way to suggest.

Use this smart value

 {{initiator}} 

which tells user who triggered this event and use it with User Condition

Hope this help!


Cheers
Sherry

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,104 views 8 28
Join discussion

Community Events

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

Events near you