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,359,848
Community Members
 
Community Events
168
Community Groups

Story Auto close functionality we can able to perform via the Scheduled Job?

HI Team,

 

Are we can able to implement the story Auto close functionality via the scheduled job.

if Story marked the status as "Ready for Delivery"   after 15th day if the story is not closed that scheduled job need to close that story.

Kindly anyone help me on this.

Thanks and Regards

Peruma.C

1 answer

1 vote
Mark Segall Community Leader Sep 01, 2022

Hi @Peruma Chinnasamy 

Yes - Your automation rule would look something like this:

  • TRIGGER (Scheduled): Daily
    • status = "Ready For Delivery" and status changed BEFORE -15d
  • ACTION: Transition Issue to Closed

Hi Mark Segall,

I am new to jira application.

Can you give some readmes for Creation Schedule jobs in jira application.

 

Thanks and Regards

Peruma.C

Mark Segall Community Leader Sep 01, 2022

I see that you are on Jira Server, so the first thing is to validate we're using the same tooling.  Can you confirm that you have the Automation for Jira add-on (created by Atlassian and is free) installed in your environment?

Once you confirm that, you will find a section for automation in project settings.  From there, you can create a new automation rule which can be configured as I outlined above.

Hi Mark Segall,

This project type is not jira service. I am using project type is jira software. So in the project setting I didn't have the Automation. Thats the reason I got confusion how to implement this changes.

Can you give me the input how to implement this changes 

I was tried :-

Post functions - not supported.

Behaviour - not supported

Listner - not support.

 

I need to trigger that job  if Story marked the status as "Ready for Delivery"   after 15th day The system should trigger the event to auto close that story.

 

Whether I can able to created any scheduled job. If yes how to add new scheduled job in jira datacenter application

 

Thanks and Regards

Peruma.C

Hi @Peruma Chinnasamy - That marketplace add-on is not specific to Jira product.  It can be used for Jira Software or Jira Service Management.

It sounds like you have scriptrunner so if you don't want to use Atlassian's Automation for Jira app, you could potentially do something there, but I'd have to defer to one of my community colleagues who have more experience in groovy.

Hi Mark Segall

Ok Can you refer that person I will communicate with them.

 

Thanks and Regards

Peruma.C

Mark Segall Community Leader Sep 02, 2022

Hi @Peruma Chinnasamy - Unfortunately, I do not. There are quite a few community members that are following these threads so hopefully one of them can jump in.  Another option is to reach out to Adaptivist directly to see if they can assist.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

4,963 views 18 31
Read article

Atlassian Community Events