Date: Fri, 29 Mar 2024 02:29:59 +0100 (CET) Message-ID: <1390949074.468.1711675799935@apps-confluence-5.apps-confluence.apps.svc.cluster.local> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_467_1026717217.1711675799934" ------=_Part_467_1026717217.1711675799934 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
I have the following use case: Project A & = Project B are linked by issues to a Project C. Project C&n= bsp;is linked by issues to Project A. First setti= ng a date on B a date field of A must be set. Then when setting a date on C= it must update the date on A if its date is newer. I thou= ght first of copying within a transaction of B the date from A to an Epheme= ral field and compare then the both dates. But there is no such field like = 'Ephemeral Date'.
"Ephemeral number fields" can be used to store Date and= Date-Time fields, since this kind of fields contain the number of millisec= onds elapsed from 1/1/1970.
You can implement your requirements as I explain:
The checkbox "Read also current issue:" does = not work, because the field in Project A is named differen= t as the fields in Project B and C. Is th= ere a solution to compare two dates and setting the desired one?
Yes, you can do it, I'm going to explain what you have to implement in t= he workflow used by project B (for project C is exactly the same solution except for the name of the field). You don= 't have to do anything in the workflow used by project
Let's suppose that:
The solution is as follows:
Use post-function Read fields from linked issues or sub-tasks to read the date field "My Date" in project A and store it in "Ephemeral number 1" i= n project B:
I'm supposing that you are reading only from one issue in projec= t A, so it has no effect the option you select in parameter "Value= to write in target field...". In the example I selected "lowest da= te".
Use post-function Set a field as a function of other fields to set "Ephemeral number 1" with newer date bet= ween "Ephemeral number 1" and "Due date".= You should consider the cases where only "Ephemeral number 1" or only "Due date" are set:
Note that:
Use post-function Write field on linked issues or sub-tasks= to write "Ephemeral number 1" in project B= strong> into field "My Date" in project A= :
Once configured, transition configuration will look like this:
Read fields from linked issues or sub-tasks
Write field on linked issues or sub-tasks
Set a field as a function of other fields