JSON Converssion Question

Alan B

New Member
Joined
Jan 17, 2009
Messages
10
I can successfully parse the CA Agile Rally API to return information into a worksheet, but the information returned in the description field is full of HTML tags. Is there any way to pull or publish the data in that field without the HTML tags?

Sample Code:
URL = "https://rally1.rallydev.com/slm/webservice/v2.0/hierarchicalrequirement?query=(FormattedID%20=%20" & RequestNumber & ")&pagesize=20&fetch=FormattedID,Name,Description,Project,ScheduleState,Iteration,Release,c_ActualRelease,c_Requestorname,c_Region,c_BookingChannel,c_GDS,LastUpdateDate"


HTTP.Open "GET", URL, False
HTTP.SetRequestHeader "authorization", secHeader
HTTP.Send

jsonText = HTTP.ResponseText

Set json = JsonConverter.ParseJson(jsonText)

w2.Cells(x, 1) = json("QueryResult")("Results")(x)("FormattedID")
w2.Cells(x, 2) = json("QueryResult")("Results")(x)("Name")
w2.Cells(x, 3) = json("QueryResult")("Results")(x)("Description")


Any help or guidance would be greatly appreciated


 

Some videos you may like

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,547
Messages
5,511,982
Members
408,873
Latest member
Lorid24

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top