Forums

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

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

Peruma Chinnasamy September 1, 2022

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 Champion
September 1, 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
Peruma Chinnasamy September 1, 2022

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 Champion
September 1, 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.

Peruma Chinnasamy September 1, 2022

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

Mark Segall
Community Champion
September 1, 2022

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.

Peruma Chinnasamy September 1, 2022

Hi Mark Segall

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

 

Thanks and Regards

Peruma.C

Mark Segall
Community Champion
September 2, 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