Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Set fieldValues in JIRA Issue Collectors for Affects Version/s

chriswolcott
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 17, 2023

Was hoping to assign field values like this:

 

<script type="text/javascript">

window.ATL_JQ_PAGE_PROPS = $.extend(window.ATL_JQ_PAGE_PROPS, {
triggerFunction : function( showCollectorDialog ) {
$('#feedback-button').on( 'click', function(e) {
e.preventDefault();
showCollectorDialog();
});
},
fieldValues : {
email: userInfo_fullname,
fullname: userInfo_email,
priority: '5',
affectsversion: ['1.0.2']
}
});
</script>

Works just fine for email, fullname, priority, but not for affectsversion.

What is the fieldValue name for Affects Version/s?

I assume assigning a value will need to be in the form of an array.

Can I use the value of the release '1.0.2' or does it need to be the id?  If it is the id how do I find that.

 

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 14, 2018

Hi Jay,

I'm afraid that this UPM documentation isn't really clear enough for how to exactly do this in Jira.  It might be that this is by design since the UPM can be used in different Atlassian products, like confluence, bitbucket, etc.  In turn the steps in each program could be slightly different in regards to how to make this change.

For the Java startup options in Jira, I believe that these Atlassian settings have to be prefixed with the sting '-D' (without quotes).  So you should be able to make your

JVM_SUPPORT_RECOMMENDED_ARGS="-Datlassian.upm.server.data.disable=true"

 

Alternative to using that place to set this, I was also able to set this value in the jira-config.properties file which you can create in the $JIRAHOME/ directory.   Details on how to do this are explained in more details in How to edit the jira-config.properties file.  If you use this method, you will likely have to create this file yourself as this does not exist by default.  But this is just a text file that Jira will look at for application properties like this one at startup.  If you use this method to set this property, the syntax would be just

atlassian.upm.server.data.disable=true

 

I hope this helps.

Andy

Jay Kantaria
Contributor
November 15, 2018

Thank you for your input on Jira configuration. 

Would happen to know file and location o make the similar changes for BitBucket?

Andy Heinzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 16, 2018

I am not certain if this can be set in a config file for Bitbucket, but perhaps the bitbucket.properties file might be able to do this.  If not, you could also check out the document on Collecting analytics for Bitbucket Server, which appears to indicate that you can disable this from within Bitbucket if you choose.

Michael Aglas
Contributor
November 29, 2021

How can I verify it has been disabled?

Like Brent Nye likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events