Can you use ScriptRunner's built- in script: 'create a sub- task' in a Service Desk project?

We have been using Scriptrunner for a while, and just tried to use the 'create a sub- task' post function in a workflow that's in a service desk project. The parent issue is a request from the service desk. Basically, Jira freaks out and tries to create the sub-tasks as service desk requests... I have a feeling this is because the actor of the script is a Service Desk Customer (we have unlimited licenses, all users are customers). Is there any way around this? Is this script just not meant for service desk?

We also have Suite Utilities for Jira (JSU), so I''ve thought about creating linked issues instead, but I'm fearful that the same thing will happen; Jira will try to make these service desk requests as well.

1 answer

0 votes


I saw your support request this morning and I'm currently working on it.

What I can tell you now, is that subtasks, weren't originally meant for JSD as you can see here 

Also what I can tell you is that currently we're adapting a lot of our scripts to JIRA SD, but currently I don't think this is supported. As soon as I get to reproduce this I'll let you know in the ticket you opened.

I'm sorry that I didn't get to answer you this morning but this was hard to demo.



Hi Daniel,

Thank you for your response. Ah, okay that makes sense. This is a unique business case we have, so I just wanted to explore if it would be possible.

Thank you for time so far.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,511 views 15 20
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