Forum Discussion
Modifying JIRA content Pack
Hi pgomes!
It's easy to modify the Jira Content pack.
Since the query editor I add a new function that look for the issues:
let
SearchIssues = () =>
let
Source = Table.Buffer(FetchPages("", 500)),
table = Table.ExpandRecordColumn(Source, "Column1", {"id"}, {"id"}),
Search = (id) =>
let
Issue = Json.Document(Web.Contents(URL,[RelativePath="rest/api/2/issue/"&id]))
in
Issue,
Output = Table.Buffer(Table.AddColumn(table, "incidencia",each Search([id])))
in
Output
in
SearchIssuesAnd after that I call this function from a new query and make the data transformations.
let
Origen = SearchIssues(),
#"Se expandió Incidencia" = Table.ExpandRecordColumn(Origen, "incidencia", {"key", "fields"}, {"key", "fields"})
in
#"Se expandió Incidencia"Did seperating the queries resolve your issue for you so that you can refresh in the Cloud?
I'm experiencing the exact same issue with refhreshing from JIRA.
- Anonymous8 years agoNot applicable
Hi fi1234!
The problem is that I can't separate the query into several.I need one query for every issue of the list or what is the same, a query for each row.
Thanks for your answer.
- tuken8 years agoFrequent Visitor
Hi Anonymous,
This post describes a technique that migth also be used to solve the problem of refreshing Jira modified content pack.
From the post:
"To support scheduled refresh, follow these guidelines:
....
Ensure that your custom functions are defined in the same query that accesses the external data sources that are needed for the end-result. Don’t use references to other queries, which access external sources."
What do you think?
- Anonymous8 years agoNot applicable