How can I write a sql that returns only the first row of the result set.
This sql statement will return all issues of project XXX in ascending order
> project="XXX" ORDER BY createdDate ASC
I'd like to get the first issue from the return set. What is the syntax?
Thanks for replying to my inquiry. I got the Structure Add-On and still I'm not able to figure out how get the first child form the result and at the same time I want to get the parents displayed as well...
So the requirements are like this:
1 - Display all the tasks.
2 - If a task has more than one sub-task whose status is in 'In Progress' state, then get the sub-task that has the due date that nearest to today's date...
So if I have a structure X (built by JQL) that show all the Tasks and all the sub-tasks that have current status = 'In Progress', then how can I write a S-JQL to meet the requirements mentioned above?
The "Expr" language that comes with Structure does not provide any flow-control constructs and JQL does not provide CURSOR construct either.
I'm stuck on the rug :-).
But thank you very much for having given me the tips of how to process it. I really appreciate it.
Have a good day Antoine
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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