Block adding issuesa after epic is closed or finding them?

Jan Sękara June 8, 2017

Hi, two questions:

1. Is it possible to block adding issues to Epic in specific status?

2. If not... then maybe (using scriptrunner?) to find what issue was added during last 24hrs to closed epic.

 

 

1 answer

1 vote
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 8, 2017

For "Issues added to closed Epic in last 24 hours" (using script runner)

created > -1d  and issueFunction in issuesInEpics("project =abc and resolution is not empty")
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 8, 2017

For "Is it possible to block adding issues to Epic in specific status?"

The only way which I can think of right now, is to add a "validation" script in the create transition of an issue.

Thus, if someone tries to create an issue, then the script checks if the epic link is empty or not. If it's not empty then it checks if resolution is empty or not. If resolution is not empty then it means epic is closed then the script should return "false" and thus the validation will fail and create transition will fail resulting in user not able to create the issue.

Suggest an answer

Log in or Sign up to answer