# Exporting html file instead csv

**URL:** <https://forums.powershell.org/t/exporting-html-file-instead-csv/23021>\
**Category:** PowerShell Help\
**Created:** [October 19, 2023, 11:42pm UTC](https://forums.powershell.org/t/exporting-html-file-instead-csv/23021 "2023-10-19T23:42:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![browds](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@browds](https://forums.powershell.org/u/browds)\
**Post date:** [October 19, 2023, 11:42pm UTC](https://forums.powershell.org/t/exporting-html-file-instead-csv/23021/1 "2023-10-19T23:42:15Z")

</div>

Hello,

I want to automate the export of my issues in Jira, but It keeps exporting as html file. I was trying with Invoke-WebRequest…

I searched, and it seems that does it when the file is not private. Ok. But how can I solve this? Any suggestions?

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [October 20, 2023, 12:22am UTC](https://forums.powershell.org/t/exporting-html-file-instead-csv/23021/2 "2023-10-20T00:22:23Z")

</div>

Hi there and welcome!

So first a clarification question- the goal is to get an export of your issues as a CSV correct?

What exactly have you tried thus far?

Additionally, have you looked into the JiraPS module? [JiraPS - Docs | AtlassianPS](https://atlassianps.org/docs/JiraPS/)

My guess is you can probably use Get-JiraIssue and either filter that in Powershell or use the -Query parameter to narrow down the data you want and save that to a var. After that you can use the Export-CSV to export the data. Apologies I don’t have a jira environment to test with but I’m confident it can be accomplished w/ that module.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [February 7, 2024, 6:28am UTC](https://forums.powershell.org/t/exporting-html-file-instead-csv/23021/3 "2024-02-07T06:28:12Z")

</div>

Closed on February 7, 2024, 6:28am UTC


