Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,415
Community Members
 
Community Events
185
Community Groups

Jira REST API oauth2 and create issue via postman

Edited
David Aslan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 19, 2023

I need to build a postman api call to jira using oauth2.0 but the docs and chat-gpt has gotten me confused.

In postman i go to the authorization tab and fill the following tabs:

In my body i have : 

{
    "fields": {
        "project": {
            "key""DV"
        },
        "summary""New task",
        "description": {
            "type""doc",
            "version"1,
            "content": [
                {
                    "type""paragraph",
                    "content": [
                        {
                            "type""text",
                            "text""This is a new task"
                        }
                    ]
                }
            ]
        },
        "issuetype": {
            "name""Task"
        }
    }
}

I do get to login but i keep running into 

"Hmm... We're having trouble logging you in.

We're having trouble logging you in. There seems to be an issue with your identity provider. Wait a few moments, then try again." 

But i also receive a cookie with the value: atlassian.xsrf.token=xxxxxxxxxxxxxxxMaybe secret numbersxxxxxxxxxxxxxx_lout 

Im not quite shure how to continue, the goal is to create an issue from postman and then replecate it via c#.

 

 

Some picture that might help:

Skärmbild 2023-04-20 143809.pngSkärmbild 2023-04-20 143636.pngSkärmbild 2023-04-20 143457.png

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events