I need to get story wise hours including subtasks in Jira worklog plugin
let IssueWL = (inKey as text, inPass as number) => let LocalBaseURL=P_BaseURL,LocalRelPath="/rest/api/3/issue/" & inKey & "/worklog?maxResults=5000&startAt=0",Source = Json.Document(Web.Contents(LocalBaseURL,[RelativePath=LocalRelPath,Headers=[Authorization=P_BaseAuth]])),TotalIssues = Source[total],#"Converted to Table" = Table.FromRecords({Source})in #"Converted to Table"in IssueWL
Good luck!
It looks like you're new here. Sign in or register to get started.