Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How i will get Project ID and Issue ID on customer view issue page?

Manish Kumar Singh
Contributor
November 13, 2019

Hi All,

I am trying to develop an add-on for the Jira service desk server. 

Here is the use case:
I want to get the details of Project ID and Issue ID on the customer issue page/View Issue page. 

I am trying from my Java code to retrieve these details and send them to the velocity code.

I tried JiraHelper.getContextParams().get("issue")).getKey(); but it is throwing a null pointer exception. 

The same code is working fine for the Jira server.

Could you please help me.

Thank you.

2 answers

1 accepted

0 votes
Answer accepted
Manish Kumar Singh
Contributor
November 19, 2019
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 20, 2019

Thanks for pasting the solution in here as well!

0 votes
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 15, 2019

Hi @Manish Kumar Singh ,

In case you don't manage to get any reply in here you may want to refer to the resources listed in https://developer.atlassian.com/resources. 

Specifically:

 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer