Jira REST API - Create an Issue

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 36

  • @ravs
    @ravs  2 роки тому

    Become Jira Master, join my channel: www.ravisagar.in/join

  • @zulminanahmed9489
    @zulminanahmed9489 3 роки тому +2

    You are looking Guru Mann :)

  • @angelinasv9034
    @angelinasv9034 3 роки тому +2

    Thanks! I found the project ID using API (Get all projects)

    • @ravs
      @ravs  3 роки тому

      Great!

  • @josevleon1626
    @josevleon1626 24 дні тому

    Thanks man, generally, still working :)

  • @harshithag5769
    @harshithag5769 3 роки тому +1

    Hello Sir, I am trying to connect to JiRA from power automate workflow. But create new issue doesn't have much options. should I go with rest api ?

  • @amritsena4572
    @amritsena4572 Рік тому

    nice work thanks for the detailed explanation

  • @adeyanjutunde5745
    @adeyanjutunde5745 3 роки тому +1

    Dear Ravi, Thanks for taking timeout to make this helpful video...Im quite new to the Jira software and would like to learn how to create projects and collaborative work on creating issue, tasks..I hope you can help me to fully understand how this software works. Thanks

    • @ravs
      @ravs  3 роки тому

      I have made videos on creating project using REST API.

  • @nishantgarg2815
    @nishantgarg2815 2 роки тому

    I have a doubt.....can we use some kind of admin credentials for authorization so that it can be used in a web service

  • @kainatkhan2459
    @kainatkhan2459 3 роки тому +1

    How did you authentic it?

  • @MotivationToLearn1709
    @MotivationToLearn1709 4 роки тому +2

    Through rest API can we check whether the user is present in perticular group or not ?

    • @ravs
      @ravs  4 роки тому

      Made this for you: ua-cam.com/video/yfWrrKa_gXg/v-deo.html

  • @PravinaKature
    @PravinaKature Рік тому

    Hello Ravi,
    Can we add the image with this issue rest api.

  • @saiavinashduddupudi8975
    @saiavinashduddupudi8975 4 роки тому +1

    Where are you giving the auth details like jira token and mailid?

    • @ravs
      @ravs  4 роки тому +2

      The authorisation goes in the header of the request. I am using Talend API Tester which has a field called "Authorization".

  • @jaguartechm
    @jaguartechm 4 роки тому

    hi i can create issue in jira with api token but only when i already log in into jira with chrome, if i log out then i get error "Field 'summary' cannot be set. It is not on the appropriate screen, or unknown." can u please help me in this matter

  • @victortoboncarrisoza4958
    @victortoboncarrisoza4958 3 роки тому

    Hello Ravi,
    is there a way to create a confluence space with template automatically using an API or the Jira automation?

  • @tanvigandhi5088
    @tanvigandhi5088 3 роки тому

    I'm getting a 405 method not allowed error when I do this. Can you suggest what I'm supposed to do?

  • @fazilshaik2926
    @fazilshaik2926 3 роки тому

    Hello sir, the same body content i have save as JSON file, and i need to get those details into my body , how to do that ?can u assist please?

  • @xst-k6
    @xst-k6 2 роки тому

    Chrome extensions are blocked in most organizations, why not use something else? I suggest R or Python to execute your code

  • @panurag1
    @panurag1 2 роки тому

    How do i run it run this jason multiple times ? my requirement is read the summary and description of these tickets from outlook email (example: 5 emails) and create a ticket in jira. I am using the invoke method to generate json. in first email loop i created the json , but next time it throws the error. I can share the code with you . i am stuck last 1 week . Please help.

  • @suvarnavashistha7667
    @suvarnavashistha7667 4 роки тому

    while creating the issue ..I am getting 400 bad request if using rest/api/2/issue using (post) and 404 not found error when using rest/api/3/issue (this is given in atlassian documents). I am creating issue on local host.
    First I am authorizing myself by localhost:8080/rest/auth/1/session
    then Session Id is generated, this ID is using for cookie in Creating issue but when I am sending this request it is showing the errors mentioned above.
    body of my issue code
    {
    "fields": {
    "projects": {
    "key": "RES"
    },
    "Summary": "Credit card defect",
    "description": "creating an issue using project keys and issue type names using REST API",
    "issuetype": {
    "name": "bug"
    }
    }
    }
    400 bad request error
    {
    "errorMessages": [],
    "errors": {
    "issuetype": "Could not find issuetype by id or name.",
    "project": "project is required"
    }
    }
    404 not found


    Oops, you've found a dead link. - JIRA

    contextPath = "";






    document.body.className += " js-enabled";

    What should I do?

  • @mamikonpapikyan2716
    @mamikonpapikyan2716 4 роки тому

    Hi Ravi... Could you please tell me how can I refresh page automatically while issue created? I'm creating issue from page 'open all issues' and can't see the current issue before not refreshing page manually? Any solutions?
    Thanks in advance!

  • @priyas2628
    @priyas2628 4 роки тому +1

    Hi I am getting 413 error while running jira api through jenkins.How to solve this???

    • @ravs
      @ravs  4 роки тому

      Hi Priya, I am not sure if this is a problem with Jira or some configuration on your server. Search for the error message on Google to get some idea.

  • @johns5917
    @johns5917 3 роки тому

    Hey Ravi, thanks for the vid, very helpful. Is there a way to update the description of a JIRA ticket via curl? I've played with it but I can't figure it out. Thanks

  • @tharuntejreddythodimi2142
    @tharuntejreddythodimi2142 4 роки тому

    The video is awesome knowledge provider, but I want to integrate selenium c# with Jira what plugins we need use in alternative to jira client which we are using in java .Please share your thoughts if anyone has worked on it

  • @age.vampire9767
    @age.vampire9767 3 роки тому

    can I update the Issue Id using Rest API?

  • @govindbabuvalavala68
    @govindbabuvalavala68 3 роки тому

    Hi Ravi,Getting this error "XSRF check failed
    ",how to avoid this error

  • @diptangshubanik2685
    @diptangshubanik2685 4 роки тому

    I am trying this on the Jira cloud instance.
    Not sure what kind of authentication you have used here but I am trying to create an issue using 3LO authentication. However, I'm getting a 401 Unauthorised.
    The token I'm passing is correct as I am able to fetch issue details using the GET issue/{ISSUE-ID} method.
    So the permission might be the problem here.
    Here's what I have done till now..
    I am able to create an issue through the UI with the same user.
    The app I have created has write:jira-work permission.
    In the project permissions section, I've granted similar access to Browse project and Create project. The permission set is Project Role -> Service Desk Team.
    Any idea as to what permissions I might be missing here?

  • @ajinkyajadhav3037
    @ajinkyajadhav3037 4 роки тому +1

    {
    "errorMessages": [],
    "errors": {
    "summary": "Field 'summary' cannot be set. It is not on the appropriate screen, or unknown."
    }
    }
    I got this error

    • @ravs
      @ravs  3 роки тому

      What is your content of the JSON you are sending?

  • @jayprakashmanjhi9523
    @jayprakashmanjhi9523 3 роки тому +1

    Don't we require any authentication token to call this API?

    • @ravs
      @ravs  3 роки тому

      Yes it is needed. I use Talent API tester where you can pass this token easily.

  • @sahooanand
    @sahooanand 2 роки тому

    Dear Ravi, Need some suggestions in Jira. Let me know how can we connect