How I can reflect Jira - Issue ID# at QC via HP-ALM tool


Our QA is working with HP-QC (Quality Center) in order to recorded bug.

Our R&D is working with JIRA and is exposed to QA sync bugs at Jira.

The state is that a new bug /issue ID that opened at QC is duplicated via HP-ALM sync. tool to JIRA and opened at JIRA and each change at JIRA by R&D is sync. to QC.

 My issue is that I can reflect issue ID # at JIRA via JIRA system field QcBugId 

but I can't reflect issue ID # from JIRA to QC 

Please guide me how to reflect JIRA issue ID # at QC.


2 answers

0 votes

That depends entirely on how you are "exposing" JIRA to CQ and vice-versa.  I can't tell you a lot more than that because there's no information on what you've set up to get the systems to talk to each other.

Hi Nic,

As I wrote I used HP-ALM sync tool .

It's will be very helpful if you can direct me how I can insert  to  custom field  at JIRA the JIRA issue # ID.


Ye,s but you've not described it, explained what it is, pointed us to an addon, or how it's not telling you how to do it in the documentation.

Hi Nic,

Your answer a little bit confused me .

What I want is to have a field at JIRA (Custom field ) that the field value will be the bug ID #  for each opened bug

For example:

At below opend bug you can see that JIRA bug id # = 184

I would like to insert this # to custom field- JIRA Bug ID

image2015-3-30 16:24:54.png

So you want to show the QC bug number in JIRA. How does the HP-ALM addon documentation suggest you do it?

Argh, sorry, I completely misread that, it's not the CQ bug id. The question is actually "how do I duplicate the issue id into an edit screen" - that's actually quite hard, and utterly unnecessary - it's already being displayed about the edit box, at the start of your red arrow. So I'm a little confused as to what you are trying to do? Why are you repeating something you already have?

Hi Nic, I need to duplicate the issue ID at custom field in order to use this # at our internal process . The new created  custom filed will be unvisable to the user but it will help us with our internal process.

I know that this issue is quite hard ,that is the reason  that I ask for help. :)



Mmm, sounds utterly pointless to me, when you've already got the number on-screen. Anyway, you can't do it on Cloud, you need code that would split the number out and duplicate it redundently on-screen. Although if it's invisible to the user, there's actually nothing to do because no-one will see it.

Hi Nic,


Can you please send me the code that split the number out? I need the number.

Can you please guide me where  I insert that code ?




The code I could send you depends entirely on how you you want to implement it. As a field plugin? A derived field (I'd use the script runner for that)? I still don't understand the need for the number when it is already on-screen in front of you.

Dear Nic,

The way I will use the code is  via a scriping field .

I am not familiar with a derived field .




Which scripted field type are you using? I'm aware of three ways of doing it. Although, what you need is going to be something like String[] pointlessresult = issue.getKey().split("-") return pointlessresult[2]

Hi Nic,

Thanks for all your assist in this case I used JIRA.Issue.getIssueKey() and it was work




Hi Nic,


I am in the same need as you. Can you please let me provide me the entire code that can be used for Custom field? Are you using it for Calculated Custom field?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

635 views 0 7
Read article

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