I´m trying to do the following configuration
SELECT CLASSIFICACAO_SERVICO
FROM JIRA_SERVICOS_SUSTENTACAO_SNEP
WHERE TIPO_CONTRATO = 'GS'
and ISSUE_TYPE_ID = {issuetype}
If i replace the issuetype parameter with a valide issuetype id, I got the results I was expecting. But as I put it in the form of a parameter (depending on the selection of the issue by the user) I got nothing as a result. Does not return any error in the log. Any help on this?
Hi,
My bad - I haven't realized that you are trying to use issue type id. The issueType variable references to the issue type name (which is, also, the one that you see in the create/edit screens), not its id.
We don't provide (at least not yet) a way to reference the issue type id.
Alexandra
Thank you so much Alexandra! It had worked. It´s even simpler
I suggest you to improve the documentation with this information. I couldn´t find, so I´ve tried in a way similar with the custom fields.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your suggestion, I'll update it ASAP. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexandra, my version is
Version: 3.0.6
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's weird; are you using the latest version of DBCF?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No Alexandra. I'm trying to use on a create issue scree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amanda,
I'm guessing you're trying to use the script on an edit screen: it is the expected behavior - the stored value is used, so until the new value of the issue type is saved, the data base custom field won't get updated.
On the other hand, on create issue screen, should work just fine.
Hope this helps,
Alexandra
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.