Forums

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

Restriction on Story/Bugs based on the Feature status

sunil tattimani May 9, 2019

Is there a way to restrict creating the user stories/linking to the feature based on the Due date ?

 

For e.x : Due date in Feature issue type is May 30th. Post 30th Users who create stories should not be able to link to the feature.

I am also wondering if this can be achived with issue type status. i.e If Feature issue type status in "DONE" status, users should not be able to link/create user stories under feature.

 

let me know if this can be done in the Jira. The version of Jira we are using is 6.4.2

 

Regards,
Sunil

1 answer

0 votes
Tarun Sapra
Community Champion
May 9, 2019

Hello @sunil tattimani 

Your requirement is not possible out of the box. You will need a plugin.

You can use Behaviour module of the Script runner plugin for this.

Possible duplicate

https://community.atlassian.com/t5/Answers-Developer-Questions/Behaviour-plugin-to-restrict-linkedissue-types/qaq-p/536508

From the docs

https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/working-with-issuelinks.html

sunil tattimani May 11, 2019

Thank you Tarun. I have this behaviour module plugin installed already but not able use it through my requirement. 

Restrict creating story based on feature due date or by status of feature. 

Could you please provide me more insight about usage of this plugin. Appreciate your help. 

 

Regards, 

Sunil

Tarun Sapra
Community Champion
May 13, 2019

Hello @sunil tattimani 

Here's the API reference of the plugin

https://scriptrunner.adaptavist.com/latest/jira/behaviours-api-quickref.html

Some samples

https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html

I am surprised that you are using an very outdated version of Jira, it's best to upgrade it to a more recent release.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events