How to transfer the content of a field in one Issue Type to another issue type?

We have two issue types - TestCase & TestRun. Both these issue types have a field by name 'TestSteps'.

We create TestCase issue type first. Then when we create the TestRun issue type. When we create TestRun issue type, we would like to see all the content of TestSteps field in TestRun issue type also. now it is not coming like that. So we have to type the whole content again. May I know how this can be implemented in JIRA so that we can avoid typing the whole content again.

thanks in advance


1 answer

Am I reading your question to say that you create two separate issues. But, when you create the TestRun issue, you want the value from TestSteps field that was entered during the TestCase issue entered in the TestSteps field for the TestRun issue? I don't believe that there is a way to do that in the OnDemand version easily.

If you're looking for a workaround that may work, consider setting up the TestRun issue as a sub-task of TestCase. Then on the Create transition, you can create a Post function of Set Field Value From Parent for the TestSteps field. That way, when you create the TestRun sub-task, it will copy the value of the TestSteps field on the parent (TestCase) into the TestSteps field of the child (TestRun). The downside is that the data will not show up in the TestSteps field on the Create screen. However, when you click the "Create" button, it will automatically move the data for that field. So, when you view the TestRun issue in the View Issue window, the TestSteps field will be populated. Also, be aware that the automatic population for the TestSteps field from the parent will overwrite anything entered during the Create Screen for the TestRun issue, but that can be handled as a "training issue" for your users. I hope this helps some.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,123 views 4 9
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