Hello
I am looking for a way to test "assignee in membersOfProjectRole(PROJECTKEY)" as standard "membersOf" is restricted to JIRA groups.
I have found a pending request: https://jira.atlassian.com/browse/JRASERVER-21711
And some example code at https://mraddon.blog/2016/02/17/jql-custom-function-userinrole-with-groovy-for-jira/ and https://mraddon.blog/2017/01/03/lastcommentcontains-jql-function-for-jira-7-2-scriptrunner/
May you please provide updated code of this function for JIRA 7.6/7.7 ?
@Adaptavist SuppWould it be possible for this JQL function to be included in plugin itself ?
Thank you in advance for your help
In your description, you mentioned:
A task should move from status "C" to Status "D" only when all the sub-task should be in "Closed" status, except one sub-task should be in status "F".
Could you please provide a little more information, i.e. is it expected that all the sub-task be in, for example, DONE status before the Parent issue is transitioned to DONE. If this is what you are looking for, then you can use ScriptRunner's Built-in Post-Function feature, i.e. Transition Parent when all sub-tasks have transitioned.
And why is the exclusion of one sub-task in a different status, i.e. status F? Could you please provide an example for status F?
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.