Forums

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

Calculate the Sum of custom field across projects

anthony_butler
October 16, 2020

Hi,

 

I have two projects, Incident Management and Problem Management. In the Incident Management project I have a field titled 'Total Agent Hours' that we fill in with a numeric value at the end of every incident to reflect how many hours it has cost us from an end user CS agent perspective. We then link our incidents to problem tickets in the Problem Management project. One problem can have multiple incidents linked to it if necessary. 

 

I would like to be able to set up a rule or automation that takes the 'Total Agent Hours' value from the incident tickets and returns a sum of them on the problem ticket. I would like this to update each time a new incident ticket is linked to the problem ticket so as to show a running total. For example:

Incident ticket 123 has a value of 10 agent hours, when it is linked to problem ticket 123 the value of 10 is shown in the agent hours field.

Incident ticket 345 has a value of 20 agent hours and is subsequently linked to problem ticket 123. The value in he agent hours field should now read 30. 

 

Is it possible to set this up using Project Automation? We do have scriptrunner installed, but this seems more complex to set up and I am the only one that can set these things up and I'm not good with scriptrunner! 

 

Many thanks for your help.

4 answers

1 vote
JMCP
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!
September 19, 2017

Same problem here, the problem is with Office 365 not using the FROM description sent by JIRA. When the receiver of the message is outside company (another domain) it shows correctly, apparently Office365 force the use of the boxname for any receiver on same domain. 

Haven't found any solution yet, besides create another domain just for the JIRA email account of course.

0 votes
Glenn Skäre
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!
November 2, 2017

Hi!

 

This is solved by following the instructions under "Option 3: Configure a connector to send mail using Office 365 SMTP relay" here;

 

https://support.office.com/en-us/article/How-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99-c550-4274-ad18-c805d654b4c4

0 votes
David M
Contributor
January 10, 2017

I've come up against this now, having just migrated to Office 365.

Did you ever get a resolution @Larry Katz?

0 votes
Stanislav Zaprudskiy
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!
August 17, 2014

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events