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

Hi!

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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

727 views 6 13
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