Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

How to push Description-type info to a customfield in JIRA


#1

Currently, it seems that we can only push %tests:comment%, %tests:details% information to the default Description field in JIRA.

We would like to push this description-related data to another custom field in JIRA.

We’ve configured the custom field like so:

description=off
customfield_12702=on

[push.field.customfield_12702]
label=New description custom field
type=text
required=true

but it’s unclear how to set the template for that particular customfield.
I can only see capability to set the template for the, supposedly, default JIRA description field.

thanks for your help.


#2

Hi Rami,

The template only applies to the default Description but it’s planned to make this available for other fields as well. Happy to add another vote to this feature request and thanks for your feedback. Can you use the default Description field in addition to your custom description?

Cheers,
Tobias


#3

Hi Tobias,

well in our case, we need people to create issues using a non-default “description” field (a custom field), and we have a postfunction in JIRA that copies the values (and enhances them) into the default Description field.

So we were hoping that TestRail would follow the same, by creating issues and adding description info into that custom field. The postfunction in JIRA takes care of the rest.

Perhaps you have a workaround until that feature is available in TestRail ? Otherwise, I’m afraid we have to disallow people from creating defects from TestRail, unless we rework the whole workflow in JIRA.

any help would be appreciated.

thanks,

-Rami


#4

Hi Rami,

You can use the custom description field and disable the built-in field but this wouldn’t support the defect templates currently. It’s planned to make the templates available to other fields as well but that’s currently not supported unfortunately and only for the built-in description.

Cheers,
Tobias