Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

6

I don't think you will be able to get far without any plugins. What you can take a look at is the Default Values for 'Create Issue' screen plugin. We were using it in the past, however gave up because defaults could be set only per issue type, and no other conditions. I was in contact with the supplier, though, and they confirmed that defaults per user and ...


2

You can use the rich jira rest API for this kind of automation work. Jira API provides mechanism to update logged hours using PUT /rest/api/2/issue/{issueIdOrKey}/worklog/{id} You can use this rest API endpoint to update the corresponding issue with the difference of first commit timestamp and first successful CD. Find more about it here.


1

You normally would access environment variables using the following syntax: env.MY_ISSUE_ID Typically you'll see the following in practice regarding envvars: pipeline { agent any environment { MY_ISSUE_ID = 'PROJECT-1234' } stages { stage('Build') { steps { echo env.MY_ISSUE_ID } } } } or node{ stage('Build') ...


Only top voted, non community-wiki answers of a minimum length are eligible