Forums

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

How to manually set a date when issue will be closed in JIRA

SEBtheSaviour
Contributor
February 9, 2023

Hello,
The goal is:

- user picks the date from the custom  date-picker field
- the issue will be transfered into a "closed" status after this date.

If there's any way to do this?

All the best guys!

2 answers

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
February 9, 2023

Hello @SEBtheSaviour 

This could potentially be handled by Automation for Jira, depending on the edition and version of your Jira product.

Are you using Jira Server or Jira Data Center?

And, what version are you using?

SEBtheSaviour
Contributor
February 10, 2023

Hello @Trudy Claspill - I supposed that it should be done with Automation (or Project Automation Rule) But the clue is the "date picker field" - in "common" I might be trying to use condition where field value is changed then do transition.
But I can't find the exact condition when the date is picked - that's why I decided to ask for help here :)

I am using the DC version & 8.20.6

Trudy Claspill
Community Champion
February 10, 2023

If you want to automatically transition an issue to a specific status on a date that has been specified in a date field in that issue then this is what I would recommend.

1. Use a Schedule Trigger that runs daily. In that trigger use a JQL to select all the issues where that Date field has been set to the current day.

2. Use a Transition Issue action to change the issue status to the desired status.

There are a few caveats to this.

- The workflow for the issue has to have a transition from its current status to the desired status.

- The Actor of the rule has to have permission to change the issue status.

- Any other Conditions set for the transitions have to be met already.

- There can't be a transition screen on the transition that would require user interaction.

SEBtheSaviour
Contributor
February 10, 2023

@Trudy Claspill Thanx a lot, honestly it's a bit more complicated than I previously thought, I'll try! :) 

SEBtheSaviour
Contributor
February 15, 2023

Thanx, @Trudy Claspill !

Here it is.

project = PROJECT and "customFieldName" = startofday() 

then transition the issue to closed & send email to Asignee & Reporter.

It works like a charm, thanx everyone too!

Like Trudy Claspill likes this
0 votes
Kelly Arrey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2023

Here's an example of a similar rule from Atlassian's Automation Template Library:

https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/115366

SEBtheSaviour
Contributor
February 10, 2023

SImilar but not the same though :) Thanx for the input, I appreciate it! <3

Suggest an answer

Log in or Sign up to answer