How to get jira key by project name

Sorry, Would you please see https://support.atlassian.com/browse/JSP-154919

Thanks advance!

Best Regard,

Patricy

1 answer

due to permissions nobody else but the reporter and atlassian staff can view support cases.

if you ask for help in a public area like this you will have to retype (or copy & paste) your text here

Sorry, Here description :

Our scenario like below:
1. PM(Project Manager) write mail to apply JIRA project to administrator,
and offer project name,usally include customer number,project name,yymm
2. jira administrator base on these information to create jira project, and set jira key,
and jira key usually is not the same with project name,(like these web project name = JIRA Support, jira key=JSP)
3. When call web service API must need project jira key like
http://jira.atlassian.com/rest/api/2/project/projectJiraKey

so, if didn't save project jira key , then can't call web service API,
One way is: let PM keyin the jira key information by manually and save it.
the other way is: suppose it could automatic to get project jira key, let application system to save this information by some api like give project name, then get jira key return.
the worst way is: to read db directly dirty way.

Would you please kind of to tell use how to do.

Thanks in advance!

Best Regard,

Patricy

hi.

i wonder why the admin is not able to respond and put in project name and key in the email.

so the only way i know is to query all projects that are visible to you (logged in user)

please refer to

http://docs.atlassian.com/jira/REST/latest/#id119483

you will have to login to your jira and access sth like

http://example.com:8080/jira/rest/api/2/project

wich will return all projects you are allowed to see (by permissions)

Hi, C.Faysal,

Thanks your reply for this question.

Although you remind this web service could get all project information, which could get project jira key.

actually, project number is too much.

So, after we discuss this problem, we choice first way :
PM keyin the jira key information by manually and save it.

to resolve this problem.

Thanks!

Patricy

How to resolved this question, receive letter , link in mail , open this question ...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 5 hours ago in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

25 views 4 0
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you