I am trying to create a issue via jira rest api using postman
Hi @Ankit kharola ,
You might want to check the following discussions:
Maybe try using GET method to get some data from the existing project to see if authorization works as expected. Once you confirm that, try moving to create a new issue.
Also, here's an official REST API docs on how to create a new issue using POST method: REST API docs / Issues / Create issue
Cheers,
Tom
Hi thank you for your response i wanted to check if we can create issues from one instance to another via jira rest api i found few articles where we could do that by automation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, that's possible as well, although you'll have to use web requests within automation to get that done.
I've written one article on that topic, however, it's in Croatian (you can translate it). It explains how you can create 'sync' between two instances with automation: https://atlassian.koios.hr/sync-issuea-dviju-jira-cloud-instanci/
Maybe this can help as well.
Cheers,
Tom
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.
Hi @Tomislav Tobijas _Koios_ i was going through the websites where it said we could do that using automation by creating rules in jira. i was wondering can i do the same with code? i have created a jira global page module in my instance and it just has a simple button wwhich says create issue and when user clicks on it i want to create issue in another instance which i am a part of and have the permision to create issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ankit kharola ,
...i have created a jira global page module in my instance...
I have never created something like this. Did you use ScriptRunner or something else to create a 'site button'?
But yes - generally it's probably possible. You just need to use REST API/send the call to another instance which will then create an issue within a specified project, with defined information such as issue type, summary, etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi thank you for the response i am using this api in a forge app i have added the url of instance where i want to create the in my manifest file
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.