The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Does Committing Updates in Portfolio trigger an Event?

Brendan Byers
April 26, 2018

Using Script runner we have some script listeners that automatically copy certain values from one field to another whenever an Issue updated Event is triggered.
However I recently noticed that when updating fields in Portfolio and then committing those fields the scripts are not triggered.

Is Portfolio not throwing this event as part of committing changes?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 2, 2018

Hello Brendan,

I know there are some conflicts in the create transition that I am aware of in portfolio covered in the following feature request relating to how portfolio temporarily stores data before committing, and you may be running into a similar result on your scripted listener:

We primarily see this conflict occur on the parent to child issue linking for the portfolio hierarchy structure like epic link between the epic and story.

Can you provide some additional details on how you have this configured and the script you are using

Brendan Byers
May 2, 2018

I chatted with Attlassian support and they directed me to this already logged issue which better describes the problem:

https://jira.atlassian.com/browse/JPOSERVER-2268

As near as I can tell if you edit only fields introduced by Portfolio (such as Team) and commit them no Issue Updated Event is triggered.

I tried this with even a simple "Hello World" script which did nothing but dump information to the logs and it would only trigger if Jira fields like Fix Version were edited at the same time as Team.

Hopefully this can be fixed in the near future.

Artem Grotskyi
Contributor
July 4, 2018

Unfortunately, it's not fixed yet. :(
We also need this feature...

TAGS
AUG Leaders

Atlassian Community Events