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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to navigate to project using project id?

If i have the project id, can i navigate/open the using a url? 

 

I can do that using the project key:

Ex: https://{HOST}/browse/{PROJECT_KEY}

 

If I do that using the project id:

Ex: https://{HOST}/browse/{PROJECT_ID}

I get an error saying:

Project Does Not Exist

The project or issue you are trying to view does not exist. Try browsing for projects.

 

Thanks!

2 answers

0 votes
Sasha Atlassian Team Jan 16, 2020

From what I can see a key is the only expected thing in these URLs. I guess if the only thing you have is an ID, you can call `/rest/api/3/project/<ID>` and get key from there (https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-project-projectIdOrKey-get)

0 votes
DPK J Community Leader Jan 16, 2020

@Wobo  Welcome the to community!

In Jira, `KEY` is what primarily exposed to users, so all URL are based upon this. For example,

  • View project issues,
    • BASE_URL/browse/PROJECT_KEY
  • Vies issue,
    • BASE_URL/browse/ISSUE_KEY

But if you have ID and want to view project issues, you can use JQL or search urls. For examples,

  • BASE_URL/issues?jql=project=PROJECT_ID

 

Otherwise as @Sasha  suggested REST API is your solution.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you