How to pass parameters to Jira Resource in Retool?

  • Goal: We need to pass a parameter to jira resource from query using script.

  • Steps:

  1. Passed the parameter using this below:
    const data = await fetchIssues.trigger({
    urlparams: {
    startAt: 200
    }
    });
  2. The resource accepts this below:

@pankaj-drivelah You can pass data in the query using additionalScope like this:

fetchIssues.trigger({
   additionalScope: {
      startAt: 200
   },
});

Then, you can use {{startAt}} in your query parameters (for startAt).

2 Likes

Hey @ZeroCodez I tried using this:

{{leadIds}} ?

This is saying its not defined.

It's startAt

3 Likes

This worked @ZeroCodez . Thanks for quick reply :raised_hands:

1 Like