Issue Details (XML | Word | Printable)

Key: JRA-5185
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jeff Turner [Atlassian]
Votes: 36
Watchers: 20
Operations

If you were logged in you would be able to see more operations.
JIRA

Recurring issues

Created: 10/Nov/04 12:45 AM   Updated: 23/Sep/08 02:13 AM
Component/s: Services
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Duplicate
 

Participants: andrey dmitriev, Dharmendra Varma, Gareth Walters, Geir Egil Hansen, Indy Nagpal, Jeff Turner [Atlassian], Luke Barklimore, Michael McKeown, Michael Walton, Nick Menere [Atlassian], Ruben Miranda, Sasha Eysymontt and Wouter van der Schagt
Since last comment: 2 weeks, 5 days ago
Labels:


 Description  « Hide
If JIRA is used as a task tracker, it would be useful if one could schedule the periodic creation of an issue (aka task), for instance, "Reboot server" every Monday. The 'issue created' email would act as the notification to the user when the issue was (automatically) created. Alternatively, a single issue could cycle through a workflow, with an email notification on the initial state.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Ruben Miranda added a comment - 04/May/05 11:46 AM
Absolutely. We're also looking for a way to schedule tasks that occur with regularity. Creating a new issue for a weekly task is just not feasible, and so we're forced to come up with an external way to manage maintenance tasks.

What makes it even more exciting is that it effectively expands the uses for JIRA. In addition to issue tracking, at some level it can also work as a PM utility. I'd love that as it increases our reliance and usage of JIRA as well as expands functionality to other departments that don't have near this level of tracking and reporting.


Nick Menere [Atlassian] added a comment - 04/May/05 08:31 PM
You could manually impliment this by creating a service that clones or creates an issue at a given time or period.
http://www.atlassian.com/software/jira/docs/latest/services.html

Don't think it would be that hard to do (if you have developer resources).

Nick


Sasha Eysymontt added a comment - 15/Jun/05 11:09 AM
Just wanted to add another comment as to the usefulness of this feature. I work in a shop where we have regularly scheduled site updates for some of our clients that are handled by a pool of developers. It would be excellent if we were able to notify that group of developers that the weekly update was coming, and what that update would contain. We could then better track our developers' distribution of the recurring work amongst themselves, as well as make our hourly billing for our customer more clear.

andrey dmitriev added a comment - 06/Jun/06 01:34 AM
this is needed.. you shouldn't need a developer to figure it out

Geir Egil Hansen added a comment - 09/Jun/06 02:13 AM
A recurring due date would do it for me.
To notify the developers I have made a filter in which I subscribe for, checking once a week for the upcoming due dates/issues. That works. I am only missing the "recurring due date"

Michael Walton added a comment - 30/Nov/06 08:51 AM
I'm actually a bit surprised that this ticket has been open this long. We use JIRA to track production tasks and we currently clone them for weekly and monthly tasks. However, we also have standard daily tasks, and it becomes unwieldy to clone a bunch of daily tasks every day.

The way I would implement this is to allow a person to schedule a clone of a ticket or group of tickets. An additional functionality would be to allow some wildcards in the subject so that a date could be entered into the subject instead of "CLONE".


Gareth Walters added a comment - 30/Nov/06 09:15 AM
I part solution I have been using to save myself from a cloning process is to use the com.atlassian.jira.service.services.file.FileService class with the com.atlassian.jira.service.util.handler.CreateIssueHandler handler. I just write my issues in Notepad in RFC822 format, and they are picked up every 1440 minutes from the directory specified.

andrey dmitriev added a comment - 30/Nov/06 03:16 PM
Gareth.. sounds complex do you have maybe a wiki page describing?

Luke Barklimore added a comment - 09/Aug/07 09:23 AM - edited
I've been looking in to trying to do this. I found a link saying that it could be done with use of a Jelly script.

Has anyone had any luck with implementing recurring tasks?


Indy Nagpal added a comment - 09/Aug/07 02:55 PM - edited
Deleting the autoresponder message that inadvertently went on the issue.

Indy Nagpal added a comment - 09/Aug/07 02:55 PM - edited
Deleting my email autoresponder message that inadvertently went on the issue.

Geir Egil Hansen added a comment - 16/Aug/07 06:01 PM
I think Michael Walton said it; "An additional functionality would be to allow some wildcards in the subject so that a date could be entered into the subject ".

That would be just great:
If the "due date" field of an issue had an extra field where I could specify let's say "1m", I could set the due date to e.g. the 15th of the current month and thus get the "due date" to be set for 15th in every from then on. Or if I set "3. sept 2007" and "1w" I would get due dates every Monday (as the 3rd is a Monday) from then on.
And to get a reminder I would use the currently existing subscribe feature which works excellent.


Wouter van der Schagt added a comment - 12/Apr/08 12:31 AM
Same request here. Allowance for recurring tasks would be great or even the creation
of new automatic clones with new due dates.

Like every nth of every month
Every mon / tue / wed (etc)

Is there any news on this already?


Dharmendra Varma added a comment - 10/Jul/08 10:50 AM
Any update on this one. This is a very useful for our projects as cloning is tedious process

Michael McKeown added a comment - 23/Sep/08 02:00 AM
I have a simple jelly script to automatically create a recurring task each week: {script:xml}
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">
<jira:Login username="jellyuser" password="xxxxx">
<jira:CreateIssue project-key="FRS" summary="Weekly Rollover" issueType="Retail General Request"/>
</jira:Login>
</JiraJelly>{script}

which the Jelly service runs ok the first time, but on the second iteration writes the following to the log:

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib"><Error action="CreateIssueDetails"><TagContents>(CreateIssue(summary=Weekly Rollver)(issuetype=6)(project-key=FRS)(priority=1)(issueType=Retail General Request)(pid=10001))</TagContents><ExecutedAs>user=jellyuser</ExecutedAs><ErrorMessage>Duplicate Issue : Another issue for this project with the same values for "summary"</ErrorMessage></Error></JiraJelly>

Why is it making the summary a unique field? I can manually create issues in the same project/issue type with the same summary.

Is there a way to work around this issue?


Michael McKeown added a comment - 23/Sep/08 02:13 AM
answer was ...

Use the duplicateSummary="ignore" on the CreateIssue tag to get around this. See:
http://www.atlassian.com/software/jira/docs/latest/jelly.html#CreateIssue

The guard is useful when using Jelly toimport issues to prevent importing the same issue more than once.