Script-Runner Post Function create a sub-task uses wrong Screen Scheme


Our Project has two issue-types A (parent issue) and B (sub-task issue). Both have their own Screens and Screen-Schemes.

1. If I create a sub-task B in the parent-issue A (more -> create sub-task) it uses the right Screen Scheme. Everythings fine so far.

2. But if I create a sub-task B with a Post Function on a transition (script worklflow function) it uses the Screen-Scheme from parent-issue A but it normally should use its own Screen Scheme.

I don't know what I'm doing wrong...?




1 answer

1 accepted

1 votes

I don't think you have understood how these things work together.

A post function is something that happens in a workflow.  You move from one status to another through a transition, and the post-function runs during that transition.

Post-functions have nothing to do with screens

An "issue type screen scheme" tells your project what "screen scheme" to use for each issue type, and those tell it which screen to use for create, edit and view.

In your description, JIRA is behaving correctly.  Sub-task B is using the screens you've told it to in the issue type screen scheme.

Thank you Nic.

You were right, we mistakenly used the wrong screen in our transition. 


Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,167 views 13 19
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot