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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am trying to trigger a review of our service request queue whenever a new issue is transitioned into our queue (status "Open")
I am trying to get a list of all the Open issues => Order them by a custom field (which is a numeric score) => iterate through this list and modify each accordingly.
Lookup issues lists have an {{index}} available to them, however when I try to access each item in the Lookup issues and access them through the {{thisIssue}} smart variable I am unable to access the {{index}} of this item within the Lookup Issues list. I can access all other issue fields e.g. {{thisIssue.summary}}, {{thisIssue.description}} etc. just not the index. We will need this value to assign a queue position.
I'm not sure why this value can't be reached.
Any help will be greatly appreciated. If we can't access this value through automation we will have to look at exporting the full list and pulling the queue number externally.
Hello @G.Taylor
Welcome to the Atlassian community!
I'm familiar with Lookup Issues, but not with the idea that there is an index attribute you can access. Where did you get that information? It would be helpful to us to see the reference material you are using.
Furthermore questions adding to @Trudy Claspill
Would you like to iterste over the lookupIssues list? then you would need to add this in your branch. What should the thisIssue do? I don‘t know any smart value/terminology that is called like this.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks both for the replies.
The index value is a property of lists as shown in the Jira smart values documentation.
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/
When I iterate through the lookup issues and pull the indexes, for example writing them to an email, this works fine. however when I use a 'For each' branch and then try to access the index of each item through the variable 'thisIssue' it doesn't work.
The intention is to use this index value to edit a field within the issue which will contain the queue position of the issue.
From what I can see this doesn't seem possible.
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.