Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JSU post function make an unappropriated transition on a subtask

Hi all

I have 2 post function on a transition .

Each of them should do a transition  on a specific sub task 

But JSU do similar  transition on unappropriated  sub tasks

For example  if i have 5 sub task  of different issue types with different workflows.

I expect that 2 post function do transition on 2  appropriated sub tasks and other three sub tasks have no changes. But Unfortunately JSU do transition on all 5  sub tasks .  




2 answers

If you use the Parent - Sub-Task relation in JSU, it is going to perform the post function on all sub tasks.
But if you use the JQL relation, you might be able to filter based on some properties on your sub tasks and the parent = {issue.key} JQL expression.

Also, the only relevant property for executing the transition is its ID. We do not distinguish between workflows. If you need to make sure only issues from a certain workflow are changed, you can also use project = XYZ AND issuetype = ABC to narrow down the issues.

You can also find the details in the documentation of the Linked Transition Post Function.

0 votes

Post functions always run, although you can add conditions to some types of them.

What have you configured for these two post-functions specifically?

These post functions contain Transition ID  naturally

so i expect they do just one transition but they do another transitions in addition

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

102 views 1 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you