GithubHelp home page GithubHelp logo

Comments (12)

tomasbjerre avatar tomasbjerre commented on May 18, 2024

Try version 3.0 of plugin.
Try using jira api token.
Check both build log and jenkins global log.

This is likely a problem with integration with jira.

from git-changelog-plugin.

TitliBasu37 avatar TitliBasu37 commented on May 18, 2024

As a {{title}} exactly what should come in the output from a Jira ticket page ?

from git-changelog-plugin.

tomasbjerre avatar tomasbjerre commented on May 18, 2024

This:
https://github.com/tomasbjerre/git-changelog-lib/blob/8596ffa8173a4c537140c21860530e967965f69c/src/main/java/se/bjurr/gitchangelog/internal/integrations/jira/JiraClient.java#L37

And jira response looks like:
https://github.com/tomasbjerre/git-changelog-lib/blob/8596ffa8173a4c537140c21860530e967965f69c/src/test/resources/jira-issue-jir-1234.json#L7

from git-changelog-plugin.

TitliBasu37 avatar TitliBasu37 commented on May 18, 2024

Thanks will try ...do u have any example using the plugin with jira api token

from git-changelog-plugin.

tomasbjerre avatar tomasbjerre commented on May 18, 2024

from git-changelog-plugin.

TitliBasu37 avatar TitliBasu37 commented on May 18, 2024

I tried upgrading the plugin version to 3.0....but still no luck...{{title}} field is coming blank :(

from git-changelog-plugin.

TitliBasu37 avatar TitliBasu37 commented on May 18, 2024

In our project...they are saying jira api token is not allowed to create as it will burden the jiras for the rest api calls...anyway the jira ticketid hyperlink is opening...but still not jira title is coming...any other way to populate the jira titles

from git-changelog-plugin.

tomasbjerre avatar tomasbjerre commented on May 18, 2024

That is expected when you do not supply cfedentials and this plugin will not be able to integrate with jira to get the title.

from git-changelog-plugin.

TitliBasu37 avatar TitliBasu37 commented on May 18, 2024

But I am supplying the credentials with class UsernamePasswordMultiBinding :

withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'CICD_Credential_ID',
usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']])
{
def changelogString = gitChangelog returnType: 'STRING',
from: [type: 'REF', value: "${currentReleaseTag}"],
to: [type: 'REF', value: 'master'],
ignoreCommitsIfMessageMatches: '^Merge.',
ignoreCommitsWithoutIssue: 'true',
jira: [issuePattern: 'CICD'+ '-([0-9]+)\b',password: "${PASSWORD}", server: 'https://jira.com', username: "${USERNAME}"],

But still why the {{title}} is not getting printed though jira tickets are opening in the changelog.html

from git-changelog-plugin.

TitliBasu37 avatar TitliBasu37 commented on May 18, 2024

Working thanks a lot

from git-changelog-plugin.

sprnza avatar sprnza commented on May 18, 2024

Hey @TitliBasu37 I've faced the same issue. Could you possibly recall how had you managed to solve the issue?

from git-changelog-plugin.

AndreasScharfCPB avatar AndreasScharfCPB commented on May 18, 2024

Hu @TitliBasu37 How is this working now?
I have got the same issue. I cannot get Jira issue title. Cannot find any information in the logs.
I am using hardcoded username and password for now to rule out any problems there.
Did you change anything in your Jenkins script? The Jira URL maybe?

from git-changelog-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.