Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

I want to automatic unassign issues after 3 hours

Arnold Roa
Contributor
October 31, 2018

is this possible?

2 answers

2 votes
Alexey Matveev
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.
October 31, 2018

Hello,

You would need an add-on for it.

For example, you could use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could write a script like this:

string jql;
jql = "project = TEST";
string[] keys = selectIssues(jql);
for(string key in keys){
string [] h = fieldHistory(%key%, "assignee");
if (size(h) > 0) {
date changeDate = parseDate("dd.MM.yyyy", h[0]);
interval diff = currentDate() - changeDate;
if (diff >= "3d") {
%key%.assignee = "";
}
}
}

Then you can schedule this script with the runJobByCron method:

https://confluence.cprime.io/display/SIL/runJobByCron

0 votes
Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 1, 2018

From historical experience unassigned issues don't get worked

Arnold Roa
Contributor
November 2, 2018

well.. our tickets takes 20 minutes to do, if someone assigns a ticket and end his shift without anyone work on it until the next day when his shift starts.

We offer 24/7 service, our people do what is unassigned all the time.

 

So it's a different context.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events