Block adding issuesa after epic is closed or finding them?

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 Champion Jun 08, 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 Champion Jun 08, 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

280 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you