Jira submission from a web page - html

I am trying to use the Jira REST API to submit issues.
This answer gives a POST method to submit issues
how to create an issue in jira via rest api?
Is there a way to integrate POST with html so you could submit things from a webpage?
If this is not possible, is there another way to create jira issues from a webpage?
I initially tried using the issue collector but it does not offer enough flexibility.
We are trying to have three required fields that combine to form the description, much like how the first example feedback from in the issue collector has a rating and then "what did you like" "what did you not like" boxes.
Sorry this question was initially rather unclear.
Thank you!

The JIRA API is primarily intended for use from scripts, not from web pages. There is no way to securely allow a web page to access the JIRA API directly.
If you want to allow users to create JIRA issues from a web page, use a JIRA issue collector.

Related

How to login with Google account through the API [For Testing]

can you guys help me please to find any information about it, I'm sure there are good sources in which I could find all answers.
I have a testing project which requires me to login with a Google account into the web site, but the problem is that I cannot do it manually, like enter all data such as pass and mail itself, there are a lot of things preventing test to log in, different security stuff doesn't allow to use it like that.
I have tried to find some info but there are only "how to implement a google auth 2.0 into your web application", I believe that's not what I need.
I need just to log in into google account using some Testing framework, that's all.

Get Smartsheet Data via API and create Wordpress html Post?

I'm researching the possibility of styled reporting on Wordpress, fed by Smartsheet data. My idea is to on click or even on frequency/date, get grid content from SmartSheet API and publish to a Wordpress post. I want the columns/cells/rows to output as html objects (ideally integration code allows me to create classes based on column and/or cell content logic) so I can style with CSS.
As someone with strong technical skills but no deep coding ability, am I being crazy to attempt self-teaching and building this? I feel like logically it seems pretty possible. If it is I would learn and execute myself.
Thoughts on how feasible, potential roadblocks?
Getting data from Smartsheet via its API into a Wordpress page is achievable. The biggest hurdle I can see you running into is since the Smartsheet API doesn't have support for CORS you won't be able to make requests to the Smartsheet API directly from the page on the front end. You'll need to build out some back end code that lives on your server that interacts with the Smartsheet API and your Wordpress site calls that code to get the data it needs.

Getting Specific Data from Post API in WordPress

I want to link my website's Wordpress database to mobile application; and I am able to generate the APIs using wp-json plugin in Wordpress.
However, there is a lot of unwanted data which I do not want for the app. What are the custom parameters in the API url which will help me get only the information I am looking for?
http://www.indiafastener.com/wp-json/wp/v2/posts/2031
PS: I know I can manage & eliminate the unwanted information through the app as well however I do not want to unnecessarily pile up lot of data & do filters in the App.
Thanks for your time.
Utpal
Modern versions of WordPress have the REST API built into core therefore a plugin isn't required.
To check the arguments for an API call, take a look at the documentation. For retrieving a post, see: https://developer.wordpress.org/rest-api/reference/posts/#retrieve-a-post. There are no arguments for limiting the data provided by the response.
While it is possible to modify the response (https://developer.wordpress.org/rest-api/extending-the-rest-api/modifying-responses/), I'd advise against it.
As you pointed out in your question, this data can be managed on the app side. I'd argue that is where you should be dealing with it. It's not about eliminating 'unwanted information' but rather recognising the information you do want.

Using Github login with a Django project

I'm working on making a site that allows login with Github and I'm using Django for this. I've gotten as far as redirecting the user to the github authorization page, and then redirecting the user to another part of my project after successful authorization. My question is then: How do i extract such things as the users username and other values? I imagine that a JSON object is sent to me, but how do I use it and where do I get it? I have never done anything like this before, so it might be obvious but if anyone could help me it would be appreciated. Bear in mind that I'm a newbie in Django.
Github login is just OAuth. There is full documentation on Github's dev site on how to do it manually, but you probably want to use one of the many Python libraries which make the process easier such as python-social-auth or django-allauth.
Check out:
https://developer.github.com/guides/basics-of-authentication/
But there is package with this functionality:
python-social-auth

what other params can I pass to the google hangout uri?

I recently discovered a parameter to pass to a google hangout uri to make it "on air": reference
I'm also wondering if I can pass any other parameters. I know that we have app_id, but I'm more interested to know if there are other parameters, such as being able to set the title or the hangout in advance, e.g.
https://plus.google.com/hangouts/_?hso=0&title=EdX%20SaaS%20Pairing
Because then I could direct people to https://plus.google.com/u/0/s/%23hangoutsonair%20EdX/hangouts and they could see all the on air hangouts associated with our MOOC. I did experimentally try passing title=, topic= and name= all to no immediate effect ...
I'd also love to know if there's a way to automatically start the live broadcast, or even better have the hangout be automatically associated with and published to our G+ pair programming community:
https://plus.google.com/communities/100279740984094902927
Many thanks in advance
Got this response from Tim Blasi at Google:
I'm a developer working on video calling. Unfortunately, you can not currently configure the video call in the way you are describing. However, we've received a lot of feedback that this is a pain point and we're currently working to address it. We'll keep your request in mind as we move forward.
https://plus.google.com/u/0/103524399391704001670/posts/JGtpxgvdD5H
resurrecting an old thread, but for a good reason.
i recently found that its possible to bypass the landing page and pre-select your user account
https://meet.google.com/lookup/my-room-name?authuser=my-email#account.com
just replace my-room-name and my-email#account.com