Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7521775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:19:34+00:00 2026-05-30T02:19:34+00:00

I have a powershell build script which checks out code and increments a build

  • 0

I have a powershell build script which checks out code and increments a build number in SVN (nightly) in our Version.h file.

What I need is some way to set that build number in JIRA (or have JIRA read it from SVN) so that when a story is marked as resolved, it sets a “Last Version” field to that build number so QA knows which build an issue was resolved in.

What’s the best way to do this? I could potentially use some combination of the JIRA CLI and a custom field or something, but I was wondering what suggestions were? Are there any scripts/plugins written for this already? I was thinking of using a custom option field and then somehow populating the dropdown with the new build number or something, but that seems like a dirty solution and I don’t really know how to do it anyway.

The build number is different from the version that we have in JIRA since those versions we’re using for sprints.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T02:19:35+00:00Added an answer on May 30, 2026 at 2:19 am

    The best way is probably to use Jira’s REST API (assuming you’re using Jira v4.x onwards, I think). Jira supports SOAP as well, but I think that is going to be more bother than it is worth.

    Then assuming your proxy is set correctly, you can use code similar to this Stackoverflow question: Call REST API from PowerShell Script.

    Lastly, since the Jira REST api needs authentication, I’d suggest you do not include the password for obvious reasons, but read it from a secure store, or permissioned system file or some other appropriate alternative.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a powershell script below which takes a config file and deletes files
We have a powershell build script that calls out to other scripts that is
How do I have a PowerShell script embedded within the same file as a
I have the following script set as my VS2010 pre-build script: cd $(ProjectDir) C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
I am trying to have PowerShell unblock a file in Win2K8 R2. Does anyone
I have a Powershell script that copies files from one location to another. Once
Does anyone have a Powershell script to change the credentials used by a Windows
I have a simple PowerShell script that uses WMI to create a web site
I have a complex Powershell script that gets run as part of a SQL
I have a very simple Powershell v1.0 script to kill processes by name: $target

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.