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 i will get Project ID and Issue ID on customer view issue page?

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

Dario B Atlassian Team Nov 20, 2019

Thanks for pasting the solution in here as well!

0 votes
Dario B Atlassian Team Nov 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
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