My end goal here is to create a custom field on the parent story ticket called QA Task Status ( basically a sub task renamed). I want this custom field to auto populate the QA Tasks status as it transitions from open all the way to closed.
I did some reading and seems I should be leaning towards a script listener using script runner.
Hi,
I will suggest a Plugin that will accomplish this task. With this plugin you can show any field in sub-Task in parent issue.
You can Download it here: https://marketplace.atlassian.com/apps/1224310/field-teller?hosting=server&tab=overview
Hi @Ali Türkkan ,
I saw a few posts of you recommending the plugin, so I bet you are a part of the team developing the app? Please have a good read-through of Atlassian Community online guidelines for Marketplace vendors and Solution Partners as they provide guidance on how to act around the community as a marketplace vendor. This includes the various way of identifying yourself as a partner (Vendor name in the user name) and clearly stating your affiliation with the company providing those products or services. Please play fair here as other app vendors are judged by the same standard and please always keep in mind that your primary goal should be to help the user and not solely promote your application as a solution. 👍🏻
Best, Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Max Foerster - K15t ,
First of all, thank you for the information. I did not know that there was such a directive and that my comment was against this directive. Please, excuse me. I will take your warning into account in my future comments.
Best regards,
Ali Türkkan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You could also use the Power Custom Fields Premium add-on:
The scripts for the field would look like this:
string[] subKeys = subtasks(key);
if (size(subKeys) > 0) {
return subKeys[0].status;
}
return null;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Mark,
another approach next ScriptRunner & Scripts and JSU could be to use a calculated field provided by Jira Workflow Toolbox (developed by my team at Decadis). So you wouldn't have to care about post functions in transitions to update the parent's custom field as it would always be "calculated" (looking up whatever you configured) when it's shown. But I'm curious, assuming you got more than one sub-tasks thought about that already? :D
Best, Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
just head over to the Atlassian Marketplace and have a look yourself and you can generate a free trial of every other app there as well and also head over to the documentation. Wish you lots of fun starting to enhance your Jira with one or the other workflow app! That's when the fun begins!
Best, Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should look into the Suite Utilities for Jira add-on. It allows you to copy certain field values from the parent-->sub-task and vise versa.
I believe status will work. You would copy "status" from sub-task to a custom field "QA Task Status" on the parent.
https://confluence-apps.beecom.ch/display/JSU/Copy+Value+From+Other+Field+Post-Function
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Josh.
I'll give this a try as well. Are you familiar with script runner as I currently have that and would like to play around there as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not familiar with Script Runner but I'll see if I can find someone who is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@josh Do you know based on what you shared as i do see the Issue Relation : From Issue in Transition (Must be Sub-Task) to Parent
If this just applies anything in my project that is considered a sub-task to this rule?
Issue Type Created: QA-task is what is what I am using.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It will apply to every time the workflow is used. So you might want to make sure that the workflow is used only in the appropriate place and for the right issue type. You can also use JSU Preconditions to prevent the Copy from taking place when conditions do not meet what is desired.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
K Great. Should work then. So I started testing and notice my statuses are always 1 behind.
Story Ticket would show Open in QA Task Status
QA Task Ticket would show In Progress
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You probably need to reorder your post functions. Put the copy one at the bottom.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.