Hi all,
I have a project where tickets will be moved from other projects. I would like to create a report in my project.
What I want to record or calculate for each ticket is:
When a ticket is move to my project -
When I resolve a ticket
I would like to apply this solution to all the tickets were retrospectively moved. Can someone guide me through the path to reach this?
Many thanks in advance
Mitesh
Hi Mitesh,
Sure - You will need to create two new custom Number fields to store the different calculations. Make sure you name them something different from each other.
Then create an automation rule to do the calculation of the differences in the dates. The rule will be based on a Field Value changing - like the dates used in the calculations.
Then you have a new action for Edit Issue. Choose the number field(s) you want to update. Then you will use a formula to do the difference. Something like:
{{issue.customfield_16825.diff(now).days}}
You can use the custom field ID or the field name
like: {{issue.Ticket Moved Date.diff(now).days}}
Here is an example:
Adding to John's answer:
This approach will help for any future moved issues, by triggering on Issue Moved and checking for a change of the project.
This will not find any issues moved before this rule is put into place. If you need to do that, you would need to either:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @John Funk and @Bill Sheboy almost got it working - except a minor issue.
To update all the issue prior to this rule - I have gone down the route of importing through CSV based on Issue key.
What i get is:
02/Sep/22 14:30 in CSV ends up as 31 Aug 2022, 05:34 in Jira when I use dd/MMM/yyyy hh:mm format which makes no sense!
What am I missing here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @John Funk
I am updating Move To Project Date for all the prior issues before I applied this rule.
In my CSV all my date is in 02/Sep/22 02:30 PM format and when I imported for one ticket, date got imported correctly but not the time.
What should be the format of time?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Value in CSV: 16/Sep/22 13:32 and
Format used during Import: dd/MMM/yy hh:mm
Mapped value before Import:
Value that got imported:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This sounds like it might be an issue with the time zone attached to your Jira instance. I recommend contacting Atlassian Support to see if they can pinpoint the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.