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 :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.