How to get JIRA ISSUE ID for a new calculated field in JIRA

Uday Kumar February 20, 2018

Hi All,

 

I am using ALM Synchronizer to synch JIRA & ALM Defects and i am able to sync data and create new JIRA ID if there is not one. However, i need to get the newly Created JIRA ISSUE ID back to ALM defect. I have a fields created in ALM defect for JIRA ID, but not able to get back the ISSUE ID from JIRA. Can somebody help to get ISSUE ID into a calculated field, so that i can sync back the value to ALM.

 

Regards,

Uday Kumar

2 answers

0 votes
Nikita_Ishkov August 27, 2019

 

JIRA.Issue.getIssueId()
JIRA.Issue.getIssueKey()

DOESN'T work for NEXT GEN templates based projects

I wrote bug report about it ~ 4-5 months but nothing changed

Any hacks/ideas how to resolve issueId using JS?

0 votes
mfabris
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2018

You can get it with an API method:  JIRA.Issue.getIssueId()

Not sure this is of help, but with a bit of work you can probably script the calculated field and bring the value there.

Curious to see if somebody has a solution here.

Uday Kumar February 20, 2018

Do we have any existing field in JIRA which provides me Issue ID or complete URL of the issue?

Suggest an answer

Log in or Sign up to answer