Forums

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

Changing "Epic link" field not firing an event.

Tarun Sapra
Community Champion
January 29, 2018

Hello All,

I came across this bug - https://jira.atlassian.com/browse/JSWSERVER-12299 

Basically I was hoping to get an "Issue update" event for an story type when the Epic link field of the story is changed to link to another epic. But it seems that's not the case. Has somebody faced a similar situation and come up with an alternate solution. My use case is when an story is linked to an "new" epic then to inherit some specific fields from the new epic onto the story. I was planning to write a script listener for the same. 

I am using JIRA server 7.4.3

 

Thanks,

Tarun

3 answers

0 votes
Vedant Kulkarni
Contributor
July 22, 2020

If someone is still looking for an alternative and on the older version, here are the steps that we have applied and tested on 7.10

  • create a dummy field(text) and add it on the edit screen
  • use behavior to copy the value of Epic Link to this dummy field. 
  • hide the field from the edit screen
  • hide the field from view screen using javascript placing an announcement banner or add the field only on Edit screen

This way, every time when epic link value gets modified with the new value it will be copied to the dummy field and which will fire an Issue Update event.

Note that this change will be recorded in Issue history

The bug is already fixed in 8.5+ https://jira.atlassian.com/browse/JSWSERVER-12299.

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2020

Hi,

Apologies for the late reply here.  This was actually a documented bug in Jira Software.  This bug is detailed by Tarun's included link in JSWSERVER-12299.

The good news is that this bug has since been fixed in Jira Software 8.4.2 and 8.5.0 and higher versions.  If you're Jira Software Server version is below one of these versions, then you are most likely affected by this bug behavior.  Sorry there does not appear to be a workaround for this bug.  I would recommend that you upgrade to resolve this issue.

Regards,

Andy

0 votes
Guillaume Dubois
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 9, 2020

It's been a while since this question exists. I have the same exact issue. Can anyone help ?

Suggest an answer

Log in or Sign up to answer