If a issue has been in the status of "completed", then add a new "sub-task" to it. The issue's status should automatically be changed to "inprogress". But now, it still in status of "completed".how to config this?
You can do as suggested by Nic, or you can write a script in the post function of create transition which validates that the current issue is a sub-task of project X and if it's parent is in state "complteted" then to transition the parent to "in-progress"
That is my mistake , I forget to click "Publish Draft".Thank you for your support. And I can compare the status by using "parentIssue.get("status").getName() == "Completed"" , Is there a document I can see the property of the object? just like "issue" or "parentIssue" or "status",because when I want get some property from parentIssue, I don't know what the object parentIssue like , So I need this
another question :
What I need is when create a sub-task for US which is Completed , I need the parent issue changed to "in progress".
now the parent issue can change to the "in progress" , but the parent of the parent issue can't be changed , the change is not Inheritance。
My configuraiton is :
I have two workflow , one for sub-task A , one for story B.
I add the "Transition parent issue" postfunction to A ,the transition is "Create"
I add the "Transition parent issue" postfunction to A ,the transition is "In Process"
the Conditional execution are all "parentIssue.get("status").getName() == "Completed"
There is no "parent of a parent", Jira only has three layers - project, parent and child.
I'm guessing you're using the structure plugin or something like it - you'll need to write more code to go find this additional parent - the plain Jira API simply won't recognise it.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
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!
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