Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,317
Community Members
 
Community Events
176
Community Groups

Is it possible to schedule a ticket to reopen at a specific date/hour?

Hi Guys, 

 

At the moment we are in the transition of going from one ticket system to Jira. And as a service desk we are creating a lot of accounts. 

To create the accounts for all the software we use we say, if there is a new colleague, 5 days before start we will begin to create those accounts, but sometimes HR persons are sending in the tickets way earlier, so we would really want to reschedule or close the ticket and let it automatically reopen later on.. is this possible? or does anyone already use a solution for this? 

 

Thanks! 

1 answer

Hi Marthine,

This is definitely possible with a little configuration and extras. My initial thoughts are these:

1. Create a Date-type custom field to store this later date when a ticket should be reopened. (Or you can use "Due Date" for that purpose, although it normally means something else.)

2. Create a new status, "Postponed" or "Snoozed". I think you can also reuse "Closed", but it would add more clarity if those statuses were different.

3. Adjust your workflow to include the new status. Add a transition from "Open" to "Postponed", call it "Postpone". Associate a new screen with this transition and add the "Later Date" custom field created at step (1) to this screen. So anyone pressing Postpone will be asked for a date to postpone until. Also, add transition back from Postponed to Open ("Reopen") in case someone wants to reopen a ticket earlier than the postponed date. Add a post-function to clear the "Later Date" field on reopen.

4. Finally, there's a need for some automation. Basically, once a day you need to find all issues that are in "Postponed" status and which have "Later Date" that is today or in the past, and automatically transition them to Open status. There are a number of way to do that. Probably the simplest way is to use Automation or Script Runner apps, but those cost some extra.

Alternatively, if you have developers to do it, you can have a simple script that is run daily on some machine, which would use Jira's REST API to retrieve the result of a JQL like 

status = "Postponed" AND "Later Date" < -0d

and then iterate over the tickets and execute a Reopen transition.

Hope this helps!

Igor

Super clear answer thanks! 

I'm going to try that! 

And I'll will answer if I succeeded .

 

Thanks so much.

You're very welcome. Please post a follow up - I'm curious myself if this works :)

What a great answer / idea.

I was wondering if it would be possible to put the postponed ticket at the top of the Jira board so it would be seen as a "new" ticket / clearly visible?

Thanks! 

Suggest an answer

Log in or Sign up to answer