hi there
I'm using bubble.io to build a custom job form. we use it also for other stuff and it works great.
my question is, does anybody know how i can create an issue in Jira using json code?
what authorisation method should i use, and how is the code concerning authentication?
Dennis
I have https://blog.developer.atlassian.com/creating-a-jira-cloud-issue-in-a-single-rest-call/ in my bookmarks.
You'll need to use the Oauth authentication though. Start with a skim of https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/
hi I tried this but i cant do anything with the curl....
this is what i can fill in:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you will need to get the Oauth sorted - the basic authentication is no longer available (it's not as secure as it should be)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
alright I fixed it. thanks,
do you also know how to add attachments to the issue when its created?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice! I always get the authentication wrong at least once when I'm coding.
Attachments are at https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-group-issue-attachments - you'll find a lot of other stuff in that API doc as well!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i tried the json code, but it fails, is the url still the same?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The url won't change because you have moved on to Oauth.
Have you adjusted the URLs to match your Cloud system?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, and i get the following message:
{"errorMessages": ["Invalid request payload. Refer to the REST API documentation and try again."]}
"self": "https://<ourcompanyurl>.atlassian.net/rest/api/3/attachments/10000",
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.
How are you doing the Oauth?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.