Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

autotransition Edited

I created a workflow that converts something and attached the result to the ticket.

(open) -> convert-[sil post function ] -> (resolved) ->  close [cond] closed

when  the conversion is successful I like to do autotransition to the closed state.

to do that I have the following condition on the closed state

cond:

if (#{success} == "true")
{
    autotransition("close", key);
}

 

this works but the screen is not updated to reflect the new status.

 

What would be the proper way to do that in a sil function?

1 answer

0 votes
Fazila Ashraf Community Leader Apr 15, 2021

@haa  , does you history shows that the new status is reflected?

Does your post function gets executed before or after the store in database postfunction?

Can you try the integrity checker to see whether that corrects the status of the ticket?

Yes the postfunction gets executed without any problems. And the condition also gets executed without any problems. Reload the page then shows the new status. But  I expect the page to reload automatically.

The question is where is the intended place to put autotransition. 

Fazila Ashraf Community Leader Apr 15, 2021

Ah.. so the status is actually changed in the screen and works. It is only that you want it to reflect without refreshing the page.

With the way JIRA is built, a refresh is needed to fetch the updates and show it in the screen.

Suggest an answer

Log in or Sign up to answer
TAGS

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