JIRA CLOUD REST API + Node.js TUTORIAL - Create, Read, Update, Delete Issues and Projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ย. 2024

ความคิดเห็น • 53

  • @josearias9882
    @josearias9882 2 หลายเดือนก่อน +1

    It worked! However, I do not why I had to hard code the Key as "TEST22" instead of using the Project key variable, const issueKey = await createIssue("TEST22", issueType, summary, description); If I use the variable the KEY is undefined. But that's ok, I used this repo to study REST API + Jira for an oncoming interview. Thanks.

    • @horeaporutiu
      @horeaporutiu  2 หลายเดือนก่อน

      glad it worked for you! I'll have to check the repo but you're most likely right, it can definitely be improved. i only had so much time to create it!

  • @irishrex995
    @irishrex995 6 หลายเดือนก่อน

    Good and Easy explanation, for experienced person its perfect.

    • @horeaporutiu
      @horeaporutiu  6 หลายเดือนก่อน +1

      Thank you glad you found it useful!

  • @SHRUTIAGRAWAL-pk1ch
    @SHRUTIAGRAWAL-pk1ch 5 หลายเดือนก่อน

    Your help is very much needed. Thank you!

    • @horeaporutiu
      @horeaporutiu  5 หลายเดือนก่อน

      Appreciate your comment!! 🙏🏼it made my day!

  • @arunamahajan2977
    @arunamahajan2977 3 หลายเดือนก่อน

    Grt help. thank you so much. Now I want to show a popup in jira when an issue is moved from one sprint to another

    • @horeaporutiu
      @horeaporutiu  2 หลายเดือนก่อน

      You can do it!

    • @ArunaMahajan-t2j
      @ArunaMahajan-t2j 2 หลายเดือนก่อน

      @@horeaporutiu how? Please help. I tried it by all mean but no use.

  • @luismauricio6225
    @luismauricio6225 ปีที่แล้ว

    Thank you very much! Great tutorial.

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      Glad you found it helpful :)

  • @randomanimegalaxy6859
    @randomanimegalaxy6859 6 หลายเดือนก่อน

    Hey great video
    1) Can you please share the official jira documentation where i can start my projects is in node.js
    2) can we get all the projects of an user ?
    3) and count of active sprints like how may sprints delayed or done or inprogress ?
    4) user list who are the participants of an particualr project with there done, pending, delayed issue count ?

  • @ArunaMahajan-t2j
    @ArunaMahajan-t2j 3 หลายเดือนก่อน

    hi, Very nice video. thanks for the information. now i want something like to show a popup in jira when an issue is moved from one sprint to another.

    • @horeaporutiu
      @horeaporutiu  2 หลายเดือนก่อน

      you can do it!

    • @ArunaMahajan-t2j
      @ArunaMahajan-t2j 2 หลายเดือนก่อน

      @@horeaporutiu how? can you please help in this regards?

    • @ArunaMahajan-t2j
      @ArunaMahajan-t2j หลายเดือนก่อน

      hi. can you please let me know how can we achieve this?

    • @horeaporutiu
      @horeaporutiu  หลายเดือนก่อน

      @@ArunaMahajan-t2j I am not sure. Don’t have time to research this one.

    • @ArunaMahajan-t2j
      @ArunaMahajan-t2j หลายเดือนก่อน

      @@horeaporutiu Ok. no problem thanks for the reply!

  • @blecomp
    @blecomp 11 หลายเดือนก่อน

    Hello friend, great video. Where is the complete course? thanks

    • @horeaporutiu
      @horeaporutiu  8 หลายเดือนก่อน +1

      When I get some more time and inspiration :)

  • @adarshogirala4657
    @adarshogirala4657 7 หลายเดือนก่อน

    Is it possible to integrate test case execution using selenium java. If yes guide me to dig more into it.
    Thank you.

    • @horeaporutiu
      @horeaporutiu  6 หลายเดือนก่อน

      This, I have no idea about. Never used selenium. I'm sure it's possible though, since it's a rest api so I don't see why you can't also add test case execution.

  • @kalyankumardas3999
    @kalyankumardas3999 ปีที่แล้ว

    Great one and thanks for the uploading the video. What are the extensions you have used in visual studio app to create api?
    I will refer this video because this will helpful for me.
    I am new on node js side.

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      Hmm - I think just a few linters / maybe a JS extension but honestly not many extensions. I will check again later. Was there one in particular you had questions about?
      Thanks for the kind words ❤️

    • @kalyankumardas3999
      @kalyankumardas3999 ปีที่แล้ว

      @@horeaporutiu : Thanks for the comment. Actually i want to to learn how to create custom api in jira cloud by using node js.
      I am the new one in node js.
      Here i am having a query that what is dotenv which you have mentioned in create-issue.js file?
      Actually i am getting error which running app.js file and it is showing like that:
      PS C:\Users\koolk\OneDrive\Desktop\Node JS\session\RUN> node create-issue.js
      node:internal/modules/cjs/loader:1080
      throw err;
      ^
      Error: Cannot find module 'dotenv'
      Require stack:
      - C:\Users\koolk\OneDrive\Desktop\Node JS\session\RUN\create-issue.js
      at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
      at Module._load (node:internal/modules/cjs/loader:922:27)
      at Module.require (node:internal/modules/cjs/loader:1143:19)
      at require (node:internal/modules/cjs/helpers:110:18)
      at Object. (C:\Users\koolk\OneDrive\Desktop\Node JS\session\RUN\create-issue.js:2:1)
      at Module._compile (node:internal/modules/cjs/loader:1256:14)
      at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
      at Module.load (node:internal/modules/cjs/loader:1119:32)
      at Module._load (node:internal/modules/cjs/loader:960:12)
      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
      code: 'MODULE_NOT_FOUND',
      requireStack: [
      'C:\\Users\\koolk\\OneDrive\\Desktop\\Node JS\\session\\RUN\\create-issue.js'
      ]
      }

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      @@kalyankumardas3999 it looks like dotenv is not installed. have you made sure to run npm install?

  • @gokulakrishna-q9u
    @gokulakrishna-q9u 10 หลายเดือนก่อน

    Hey @Horea Porutiu
    I need to make the jira dashboard components in confluence page so that we have used forge app.Now am currently working on reteriving the dashboard details on api's getting error while reteriving the api when we deployed on development server and we try to check it.
    is there any other options is there our focus to create an app which contain the jira dashboard details in it

    • @horeaporutiu
      @horeaporutiu  2 หลายเดือนก่อน

      Not sure about this one!

  • @gabistoianova3170
    @gabistoianova3170 ปีที่แล้ว

    Hello, i want to ask (maybe) a stupid question, but i cannot figure it out on my own, because i'm beginner with jira cloud Rest APIs. I have an existing project with 2 folder - one for the react.js frontend and the other for backend, which contains the server.js, node_modules, package.json and package-lock.json made with express and MySQL. So my question is where i have to clone the repo to? I have to clone it in the backend folder, where my server.js is, or in a third separate folder to not get errors, because the git repo contains files that are the same like the package.json file ? Thanks in advance!

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      Hi @gabistoianova3170
      It really depends on your project structure. This project was meant as a way to learn a bit of the basics with Jira Cloud APIs.
      That being said, I think you can re code the project to use some of these functions with a react app.
      I think in general, these should likely be in the backend folder. You should only have one package.json per project so you can just keep yours but you may have to add a few other dependencies like axios, dotenv, and request.
      In general, the REST API calls should be in the backend folder. But combining projects in general is no easy feat so I would have to look at your folder structure, so maybe if you provide a GitHub link I can take a look.
      Hope this helps! Thanks for watching my videos :)

  • @icarojose6316
    @icarojose6316 ปีที่แล้ว

    is it possible to fetch the current running sprint of a project ?

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      I’m not 100% sure but I would assume there has to be a REST API for that.

  • @juansebastianossa3717
    @juansebastianossa3717 6 หลายเดือนก่อน

    You are awesome

    • @horeaporutiu
      @horeaporutiu  6 หลายเดือนก่อน

      You’re awesome ❤️

  • @caohoainam6413
    @caohoainam6413 ปีที่แล้ว

    ありがとございます<3

  • @xst-k6
    @xst-k6 11 หลายเดือนก่อน

    How do you create an EPIC using Jira REST API using Python?

    • @horeaporutiu
      @horeaporutiu  8 หลายเดือนก่อน

      Hi - have you checked this link? community.atlassian.com/t5/Jira-Software-questions/How-to-create-a-task-inside-an-Epic-using-Jira-Rest-API/qaq-p/1348846

  • @ShubhamKumarChoudhry
    @ShubhamKumarChoudhry ปีที่แล้ว

    I get this when I follow your tutorial - error:
    "unable to get local issuer certificate"
    After running the command "node app.js"

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      Hmm - I don't think I've ran into this before. Have you ran into this in other projects?
      I saw this on Stackoverflow: stackoverflow.com/questions/24372942/ssl-error-unable-to-get-local-issuer-certificate

  • @surendrababu9962
    @surendrababu9962 ปีที่แล้ว

    same code i need in php how can I do that?

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      You will need to learn how to make REST API calls in php and then you can use the same urls as in this video. The syntax will be different.

  • @JonHaakonAriansen
    @JonHaakonAriansen ปีที่แล้ว

    I get this when I follow your tutorial - error:
    {}
    undefined

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      Did you add your env variables and make sure they are being set? Ie can you print them and make sure they are what you think they are?

  • @ankur3334
    @ankur3334 ปีที่แล้ว

    Whats is LEAD_Account_id??

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      Actually that is a great question - sorry for the late response. This will be the user which will be associated as the "lead" on the project. You will need to have a valid user ID for that env variable! Let me know if this helps.

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      mrrefactoring.github.io/jira.js/interfaces/Version2.Version2Models.Component.html#leadAccountId

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      the lead_account_id must be in this format: registry.terraform.io/providers/rramirz/jira/latest/docs/resources/project
      Click on some of your users in Jira Cloud and you should be able to see their user id. Any of those user IDs should be ok for the lead account ID as long as it is in the format showed above!

  • @kkgolf5371
    @kkgolf5371 8 หลายเดือนก่อน

    Go much too quickly for beginners. I don't use GIT or Code much, you are thinking everyone comes here ready to code and already knows Git, VS etc.

    • @horeaporutiu
      @horeaporutiu  8 หลายเดือนก่อน

      Thank you for the feedback sir, I will take it into consideration for the next one!