Skip to main content
Question

Output Mapping limit

  • September 18, 2025
  • 3 replies
  • 57 views

Forum|alt.badge.img+1

Is there a workaround for the output mapping result limit? I'm working on a flow where a user can query the bot to return all of their tickets in JIRA, but I'm losing some data in the process when the mapping gets bigger. Using conversational plugin, not compound action.

Example Output Mappings:

Mapping 1

MAP():
converter:
key: item.key
project_name: item.fields.project.name
status: item.fields.status.statusCategory.name
summary: item.fields.summary
url: $CONCAT(["https://company.atlassian.net/browse/", item.key])
items: response.issues

returns:

1. Project A – 38 tickets
2. Project B – 1 ticket
3. Project C – 1 ticket
4. Project D – 13 tickets
5. Project E – 32 tickets

Mapping 2

MAP():
converter:
assignee: item.fields.assignee.displayName
created: item.fields.created
key: item.key
last_updated: item.fields.updated
project_name: item.fields.project.name
reporter: item.fields.reporter.displayName
status: item.fields.status.statusCategory.name
summary: item.fields.summary
url: $CONCAT(["https://company.atlassian.net/browse/", item.key])
items: response.issues

returns:
1. Project A – 34 tickets

2. Project B – 1 ticket
3. Project C – 1 ticket
4. Project D – 15 tickets
5. Project E – 5 tickets

 

Have following content activity:

If there are more than 20 results, return number of tickets by project name and ask user if want to see tickets for each project separately.
You are allowed to comment and check comments only for Project E project tickets at the moment. For other project tickets, advice user to do this directly via Jira.

 

Conversational plugin description:

This plugin is used to list all open tickets for user. When you return tickets back to the user, use the Summary, Key and URL fields from the API response for each record.

 

The plugin logs indicate that the payload and the final mapped output contain the expected data. However, the end-user interaction shows that the bot is presenting incorrect information.

3 replies

Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • September 18, 2025

Hey ​@mmasiulis!

Is the plugin’s purpose to show a list of projects and provide information about each project? If so, have you tried instead using a dynamic resolver to look up the projects and once a user selects the project you make another API call that only looks up the information of the selected project and presents it to the user.

This way you should be able to get around the token limits.


Forum|alt.badge.img+1
  • Author
  • New Participant
  • September 18, 2025

Hey ​@Kevin Mok ,

Thanks for suggestions. Haven’t tried that one yet. Purpose of the plugin is to show list of all open user Jira tickets across multiple projects. Running JIRA JQL search API to find all reported and assigned tickets under user ID and then returning that. With Mapping 1 have no issues returning 40+ tickets as long as I instructing bot to summarise them to groups by projects. But the more information I am pulling from API, more tickets getting dropped in bot response.


Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • September 18, 2025

Yeah, we have limits on the response the assistant provides, which is around 7000 tokens. So anything overflowing will get dropped off. Also, it is hard for the assistant to list out more than 20 items.

One thing that would definitely help your use case would be using SDA, which is able to analyze large response sizes. I would highly recommend that you sign up to the Limited Preview to get access ASAP.