Wednesday, 15 July 2015

How can I make a JIRA sub-task read-only? -



How can I make a JIRA sub-task read-only? -

i want create sub-task read-only when parent closed. sub-task not have typical workflow associated - single step says "not applicable".

my thinking i'd extend closed action (whatever is) , set jira.issue.editable property false. possible, , if so, parts of api??

many thanks!

one easy way attack post function close transition of parent issue move sub-task locked transition.

to create post function can utilize script runner or jira scripting suite. add together locked transition subtask, add together new state it's workflow , on workflow screen create read only, see this answer more details.

if want restore sub-task status 1 time issue re-opened, on post-script leads close state of parent issue, save subtask custom field it's current state before making transition locked. attach post function parent issue re-open transition move subtask it's original state, according what's saved in custom field.

jira jira-plugin

No comments:

Post a Comment