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
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
I'm working on some Jira automation and want to create a JQL query with smart values that references the rank of the ticket triggering the automation. We're on Jira Server using Lexorank. Everything I've tried results in an empty field in the subsequent JQL. Has anyone found a way to do this? Thanks!
Welcome to the Atlassian Community!
Rank is not an easy field to work with - it's unique, doesn't hold human-friendly values, and is more about showing a position in a list (how an issue relates to the ones around it) than a specific value.
I think the first question to ask is "what are you trying to achieve?". Which probably leads back to "What is your JQL trying to do?". Not too worried about your JQL or config at this point, we'd like to know what you're thinking, so natural language rather than JQL.
Sure - imagine I have an Epic and that epic has a special entry called a 'cut line'. Everything above the cut line should have a version associated with it (it's in the next release), and everything below it should not (it's not in the release.)
So, what I want to do is have a rule that can check if a give ticket is above/below this cut line ticket. This isn't too hard to do conceptually - I want a JQL query that checks if there are any tickets in the same epic with a particular label (e.g. 'cut_line') and which are ranked higher than the ticket in question. Problem is, I can't access the rank! And that's what brought me here :)
Hi Daniel - Welcome to the Atlassian Community!
What are you trying to achieve with the rank? I really doesn't make a lot of sense in relation to JQL.