i am creating a mobile application and want to show some details of a text gadget which is inside a dashboard in JIRA using rest api . The max that i was able to do was to get the dashboard i wanted using its ID, but i couldn't get the contents of the gadget that is inside the particular dashboard . which JIRA rest api do i need to use to show the contents of the gadget in that particular dashboard ?
Community moderators have prevented the ability to post new answers.
Almost all the gadgets use REST API to get the content. You can peak into network traffic, using Chrome developer tools or Firebug, and figure out the REST API call by refreshing the gadget.
Hi Jobin, Thanks for the answer , but i have added text gadget into my dashboard and inside text gadget i have my html code and want to retrieve this data using rest api , do i need to check in to the network tab of the to get the rest api ? but for now i am using https://help.domain.com/rest/api/2/dashboard/13403 to go into the dashboard but couldn't see the gadgets information from that URL so my questions boils down to - Do i need to append the api found in the network tab of chrome developer tools to this api that i have ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, find the REST API from network tab and that should return you the actual data in the gadget.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The gadgets also use their own private rest API too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.